PolymorphicMapping class

Inheritance

Constructors

PolymorphicMapping({required String field, required Mapper mapper, required TypeDescriptor typeDescriptor, required Function constructor, required int stackSize, required List<IntermediateResultDefinition> intermediateResultDefinitions, required MappingDefinition<Map<String, dynamic>, dynamic> definition, required List<Operation<MappingContext>> operations, required List<Finalizer> finalizer})

Properties

constructor ↔ Function
getter/setter pairinherited
definition ↔ MappingDefinition<Map<String, dynamic>, dynamic>
getter/setter pairinherited
field ↔ String
getter/setter pair
finalizer ↔ List<Finalizer>
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
intermediateResultDefinitions ↔ List<IntermediateResultDefinition>
getter/setter pairinherited
lazy ↔ bool
getter/setter pairinherited
mapper ↔ Mapper
getter/setter pairinherited
mappings ↔ Map<String, Mapping>
getter/setter pair
operations → List<Operation<MappingContext>>
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackSize ↔ int
getter/setter pairinherited
typeDescriptor ↔ TypeDescriptor
getter/setter pairinherited

Methods

findMapping(Map<String, dynamic> data) → Mapping
newInstance() → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setup() → void
setupContext(MappingContext context) → MappingState
inherited
toString() → String
A string representation of this object.
inherited
transformTarget(dynamic source, dynamic target, MappingContext context) → void
Modify a target instance by applying all specified operations.
override

Operators

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