ShippingLineItemShipping.fromJson constructor

ShippingLineItemShipping.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ShippingLineItemShipping.fromJson(Map<String, Object?> json) =>
    ShippingLineItemShipping(
      id: json["id"] as String,
      taxCode: json["tax_code"] == null ? null : json["tax_code"] as String,
      label: json["label"] == null ? null : json["label"] as String,
      fee: inttegro_money.Amount.fromJson(
          (json["fee"] as Map).cast<String, Object?>()),
    );