deserializeError method
Implementation
void deserializeError(Map<String, dynamic> input) {
if (input.containsKey('error')) {
Map<String, dynamic> error = input['error'] as Map<String, dynamic>;
errorCode = error["code"];
errorMessage = error["message"];
}
}