@override Future<T?> getOne(bool Function(T value) test) async { for (var item in await getAll()) { if (test(item)) { return item; } } return null; }