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