ModelResponse.fromJson constructor

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

Parse the json and populate data

Implementation

ModelResponse.fromJson(Map<String, dynamic> json) {
  responseCode = json['response_code'];
  sessionToken = json['session'];
  txToken = json['token'];
}