DataMethods<T> class
abstract
- Implemented types
- Implementers
Constructors
Properties
Methods
-
create(
T item) → Future - Method create adds entry to database
-
createAll(
List< T> items) → Future - Method createAll but add a list of entries
-
delete(
T item) → Future - Method delete deletes entry on database
-
destroy(
dynamic id) → Future - Method destroy deletes entry on database based on id
-
destroyAll(
) → Future - Method destroyAll deletes all entries on database
-
insert(
Map< String?, dynamic> item) → Future - Method insert same as create but expects a map entry
-
insertAll(
List< Map< items) → FutureString, dynamic> > - Method insertAll same as insert but expects a map entry List
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toList(
) → Future< List< T> > -
toList returns items list
inherited
-
toMap(
) → Future< List< Map< >String?, dynamic> > -
toMap returns a map
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
T item) → Future - Method update updates entry on database
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited