STCPayModel.fromJson constructor

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

Implementation

STCPayModel.fromJson(Map<String, dynamic> json) {
  type = json['type'];
  mobile = json['mobile'];
  referenceNumber = json['reference_number'];
  branch = json['branch'];
  cashier = json['cashier'];
  transactionUrl = json['transaction_url'];
  message = json['message'];
}