Box<T?>
Future<T?> getOne(bool Function(T value) test, {int? parentId}) async { for (var item in await getAll(parentId: parentId)) { if (test(item)) return item; } return null; }