Response constructor
Implementation
Response(this._token, String jsonStr) {
if (jsonStr.isNotEmpty) {
Map fullResponse = json.decode(jsonStr);
this._type = fullResponse['t'];
this._data = fullResponse['r'];
this._backtrace = fullResponse['b'];
this._profile = fullResponse['p'];
this._notes = fullResponse['n'];
this._errorType = fullResponse['e'];
}
}