InMemoryRepository<T, ID> class
- Implemented types
-
- Repository<
T, ID>
- Repository<
Constructors
-
InMemoryRepository({required ID getId(T item), Map<
ID, T> ? items})
Properties
Methods
-
deleteById(
ID id) → Future< bool> -
override
-
findAll(
) → Future< List< T> > -
override
-
findById(
ID id) → Future< T?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
T entity) → Future< T> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited