1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +00:00
This commit is contained in:
Brett Morgan
2024-08-29 22:51:13 +10:00
committed by GitHub
parent e5cd55ff25
commit 20c1002132
3 changed files with 2 additions and 4 deletions

View File

@@ -5,7 +5,6 @@
import 'dart:async';
import 'dart:math';
import 'package:collection/collection.dart';
import 'package:uuid/uuid.dart' as uuid;
import 'api.dart';
@@ -108,7 +107,7 @@ class MockEntryApi implements EntryApi {
var list = _storage.keys
.where((k) => k.startsWith(categoryId))
.map((k) => _storage[k])
.whereNotNull()
.nonNulls
.toList();
return list;
}