TokenResponseModel.fromJson constructor

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

Implementation

factory TokenResponseModel.fromJson(Map<String, dynamic> json) {
  return TokenResponseModel(
    referenceId: json['RefId'],
    responseCode: json['ResponseCode'].toString(),
    responseDescription: json['responseDescription'],
    tokenId: json['TokenId'],
    amount: json['Amount'],
  );
}