Repository<T extends DataModel> class
abstract
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
T entity) → Future< T> -
delete(
int id) → Future< void> -
get(
int id) → Future< T> -
getAll(
) → Future< List< T> > -
getAllForRelation<
S extends DataModel> (S entity) → Future< List< T> > -
getAllForRelationById<
S> (int id) → Future< List< T> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
T entity) → Future< T>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited