FeeLineItemFee.fromJson constructor

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

Implementation

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