toJson method
Implementation
Map<String, dynamic> toJson() {
final recordFormatType = this.recordFormatType;
final mappingParameters = this.mappingParameters;
return {
'RecordFormatType': recordFormatType.toValue(),
if (mappingParameters != null) 'MappingParameters': mappingParameters,
};
}