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

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 INPUT entity into an OUTPUT object.
override
transformDynamic(dynamic entityOrArray) → dynamic
Dynamically transforms either a single INPUT or a list of INPUT into its corresponding OUTPUT or List<OUTPUT>.
override
transformList(List<INPUT> array) → List<OUTPUT>
Transforms a list of INPUT entities into a list of OUTPUT objects.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited