transformTarget method
Modify a target instance by applying all specified operations.
source
the source object
target
the target object
context
the context object
Implementation
@override
void transformTarget(dynamic source, dynamic target, MappingContext context) {
var mapping = findMapping(source as Map<String,dynamic>);
if ( mapping == this)
super.transformTarget(source, target, context);
else {
mapping.setupContext(context);
mapping.transformTarget(source, target, context);
}
}