toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final reportingMta = this.reportingMta;
  final arrivalDate = this.arrivalDate;
  final extensionFields = this.extensionFields;
  return {
    'ReportingMta': reportingMta,
    if (arrivalDate != null) 'ArrivalDate': iso8601ToJson(arrivalDate),
    if (extensionFields != null) 'ExtensionFields': extensionFields,
  };
}