ModelWrapper<M extends Model> class
abstract
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(
Map< String, dynamic> data) → Future<M?> - This function will wrap your incoming data into your app's data. After creating the model will be saved into the desired collection.
-
getEnum(
{required List values, required dynamic data, dynamic defaultValue}) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCreate(
Map< String, dynamic> data) → Future<M?> -
some(
List values) → Future< List< M> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited