MappingManager<InputType> class
abstract
The class that's used for creating the extensions upon
Constructors
- MappingManager(InputType input)
-
The mapping manager takes the original object as input
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- input → InputType
-
The input object
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
convert<
ResultType> ({required String toFieldName, required Type type}) → ResultType? -
When mapping the object the created extension will first invoke the
convert method to see if there's a custom conversion defined
toFieldName
represents the field name of which the object will be mapped By default returns null and uses the outputType.fieldName -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited