Future<List<T>> findAllWhere(bool test(T element)) async { return (await findAll()).where(test).toList(); }