ShippingDetailsInput.fromJson constructor

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

Implementation

factory ShippingDetailsInput.fromJson(Map<String, Object?> json) =>
    ShippingDetailsInput(
      id: json["id"] == null ? null : json["id"] as String,
      taxCode: json["tax_code"] == null ? null : json["tax_code"] as String,
      customData: json["custom_data"] == null
          ? null
          : core.CustomDataInput.fromJson(json["custom_data"]),
      fee: inttegro_money.AmountParams.fromJson(
        (json["fee"] as Map).cast<String, Object?>(),
      ),
    );