SubMerchant.fromMap constructor

SubMerchant.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory SubMerchant.fromMap(Map<String, dynamic> json) => SubMerchant(
      merchantId: json["merchantID"] == null ? null : json["merchantID"],
      uniqueTransactionCode: json["uniqueTransactionCode"] == null ? null : json["uniqueTransactionCode"],
      amount: json["amount"] == null ? null : json["amount"],
      amountDouble: json["amountDouble"] == null ? null : json["amountDouble"],
      desc: json["desc"] == null ? null : json["desc"],
    );