We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 439abb2 commit a62960fCopy full SHA for a62960f
1 file changed
lib/services/notes/notes_service.dart
@@ -108,9 +108,9 @@ class NotesService {
108
109
/// Returns all the notes with the [ids].
110
Future<List<Note>> getAllByIds(List<int> ids) async => [
111
- ...(await (_plainTextNotes.getAll(ids))).nonNulls,
112
- ...(await (_richTextNotes.getAll(ids))).nonNulls,
113
- ...(await (_checklistNotes.getAll(ids))).nonNulls,
+ ...?await (_plainTextNotes.getAll(ids)),
+ ...?await (_richTextNotes.getAll(ids)),
+ ...?await (_checklistNotes.getAll(ids)),
114
];
115
116
/// Returns all the notes that are not deleted.
0 commit comments