makeTransformerProperty method
Implementation
@override
MapperProperty makeTransformerProperty(bool write) {
if ( defaultValue != JSONAccessor) {
if ( convert != null)
return ConvertingJSONProperty(name: name, includeNull: includeNull, defaultValue: defaultValue, convert: convert!, type: this.type);
else
return JSONProperty(
name: name, includeNull: includeNull, defaultValue: defaultValue, type: this.type);
}
else {
if ( convert != null)
return ConvertingJSONProperty(name: name, includeNull: includeNull, convert: convert!, type: this.type);
else
return JSONProperty(name: name, includeNull: includeNull,type: this.type);
}
}