toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (country != null) 'country': country!,
      if (locationId != null) 'locationId': locationId!,
      if (postalCode != null) 'postalCode': postalCode!,
      if (rate != null) 'rate': rate!,
      if (region != null) 'region': region!,
      if (taxShip != null) 'taxShip': taxShip!,
    };