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 (ratePercent != null) 'ratePercent': ratePercent!,
      if (shippingTaxed != null) 'shippingTaxed': shippingTaxed!,
      if (useGlobalRate != null) 'useGlobalRate': useGlobalRate!,
    };