AutoMappr interface for converting source objects into target objects.
Users should not implement or extend this.
Constructors
- AutoMapprInterface()
-
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
-
canConvert<
SOURCE, TARGET> ({bool recursive}) → bool -
Determines whether conversion from
SOURCE
toTARGET
is possible. -
convert<
SOURCE, TARGET> (SOURCE? model) → TARGET - Converts from SOURCE to TARGET if such mapping is configured.
-
convertIterable<
SOURCE, TARGET> (Iterable< SOURCE?> model) → Iterable<TARGET> - For iterable items, converts from SOURCE to TARGET if such mapping is configured, into Iterable.
-
convertList<
SOURCE, TARGET> (Iterable< SOURCE?> model) → List<TARGET> - For iterable items, converts from SOURCE to TARGET if such mapping is configured, into List.
-
convertSet<
SOURCE, TARGET> (Iterable< SOURCE?> model) → Set<TARGET> - For iterable items, converts from SOURCE to TARGET if such mapping is configured, into Set.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
tryConvert<
SOURCE, TARGET> (SOURCE? model) → TARGET? - Converts from SOURCE to TARGET if such mapping is configured.
-
tryConvertIterable<
SOURCE, TARGET> (Iterable< SOURCE?> model) → Iterable<TARGET?> - For iterable items, converts from SOURCE to TARGET if such mapping is configured, into Iterable.
-
tryConvertList<
SOURCE, TARGET> (Iterable< SOURCE?> model) → List<TARGET?> - For iterable items, converts from SOURCE to TARGET if such mapping is configured, into List.
-
tryConvertSet<
SOURCE, TARGET> (Iterable< SOURCE?> model) → Set<TARGET?> - For iterable items, converts from SOURCE to TARGET if such mapping is configured, into Set.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited