Data.fromJson constructor

Data.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Data.fromJson(Map<String, dynamic> json) => Data(
  merchantId: json["merchantId"],
  merchantTransactionId: json["merchantTransactionId"],
  transactionId: json["transactionId"],
  amount: json["amount"],
  state: json["state"],
  responseCode: json["responseCode"],
  paymentInstrument: json["paymentInstrument"],
);