PolymorphicMappingDefinition class
Methods
-
addIntermediateResultDefinition(TypeDescriptor typeDescriptor, FromArrayConstructor ctr, int nargs, ValueReceiver valueReceiver)
→ IntermediateResultDefinition
-
inherited
-
collectFinalizer()
→ List<Finalizer>
-
inherited
-
createMapping(Mapper mapper)
→ Mapping<Map<String, dynamic>, dynamic>
-
override
-
createOperations(Mapper mapper)
→ OperationResult
-
inherited
-
derives(MappingDefinition mappingDefinition)
→ MappingDefinition<Map<String, dynamic>, dynamic>
-
inherit all operations as specified in a parent mapping. This makes sense for inherited classes, where mappers inherit each other as well.
mappingDefinition
an inherited mapping
inherited
-
finalize(Finalizer<Map<String, dynamic>, dynamic> finalizer)
→ MappingDefinition<Map<String, dynamic>, dynamic>
-
add a Finalizer
finalizer
a finalizer
inherited
-
findMatches(List<Match> matches)
→ void
-
inherited
-
map({dynamic constant, dynamic from, PropertyQualifier? all, dynamic to, bool deep = false, bool validate = false, Convert? convert})
→ MappingDefinition<Map<String, dynamic>, dynamic>
-
specifies a single operation, that will be executed while mapping.
constant
maps a constant value as a source
from
either a single source field or a field path
to
either a single target field or a field path
all
a PropertyQualifier wild card, that is used instead of from and to
deep
if true
, a different supplied mapping is expected to transform the retrieved source value recursively
convert
optional Convert instance
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited