toJson method

Map<String, dynamic> toJson()

Implementation

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