Data.fromJson constructor

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

Implementation

Data.fromJson(Map<String, dynamic> json) {
  sessionId = json['SessionId'];
  transactionId = json['TransactionId'];
  referenceId = json['ReferenceId'];
  via = json['Via'];
  channel = json['Channel'];
  paymentNo = json['PaymentNo'];
  paymentName = json['PaymentName'];
  total = json['Total'];
  fee = json['Fee'];
  expired = json['Expired'];
}