JMapper<INPUT, OUTPUT> class
abstract
Base abstract class implementing IMapper to simplify concrete mappers.
Implementers only need to override map to define how to transform a single INPUT
to OUTPUT. Other transformation methods are implemented here.
- Implemented types
-
- IMapper<
INPUT, OUTPUT>
- IMapper<
Constructors
- JMapper()
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
-
map(
INPUT entity) → OUTPUT -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
INPUT entity) → OUTPUT -
Transforms a single
INPUTentity into anOUTPUTobject.override -
transformDynamic(
dynamic entityOrArray) → dynamic -
Dynamically transforms either a single
INPUTor a list ofINPUTinto its correspondingOUTPUTor List<OUTPUT>.override -
transformList(
List< INPUT> array) → List<OUTPUT> -
Transforms a list of
INPUTentities into a list ofOUTPUTobjects.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited