MapMapper<TEntity> class
abstract
Converts instances of type TEntity
to Map<String, dynamic>
and from Map<String, dynamic> to TEntity
Constructors
- MapMapper()
-
const
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
-
fromMap(
Map< String, dynamic> map) → TEntity -
Converts a Map<String, dynamic> into a new instance of
TEntity
-
getValueOrDefault<
T> (dynamic source, T getDefault(), T getFromSource(dynamic)) → T -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
TEntity instance) → Map< String, dynamic> -
Converts an instance of
TEntity
into a new Map<String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited