toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "rate_code": rateCode,
      "rate_id": rateId,
      "label": label,
      "compound": compound,
      "tax_total": taxTotal,
      "shipping_tax_total": shippingTaxTotal,
      "meta_data": List<dynamic>.from(metaData!.map((x) => x)),
    };