Data.fromJson constructor

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

Implementation

Data.fromJson(Map<String, dynamic> json) {
  merchantId = json['merchantId'];
  merchantTransactionId = json['merchantTransactionId'];
  instrumentResponse = json['instrumentResponse'] != null
      ? InstrumentResponse.fromJson(json['instrumentResponse'])
      : null;
}