ModelFactory<T extends Model> class
Constructors
Properties
Methods
-
create(
{Map< String, dynamic> data = const {}}) → Future<T> -
createRelations(
T model) → Future< Map< String, dynamic> > -
getBool(
) → bool -
getCity(
) → String -
getId(
) → Future< String> -
getImage(
) → String -
getInt(
{int min = 0, int max = 10000}) → int -
getName(
) → String -
getTimestampInFuture(
) → int -
getTimestampInPast(
) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCreate(
Map< String, dynamic> data) → Future<T> -
some(
{Map< String, dynamic> data = const {}, int? count}) → Future<List< T> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited