toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'StatusCode'] = this.statusCode;
json[r'code'] = this.code;
json[r'details'] = this.details;
json[r'duration'] = this.duration;
json[r'exception_fields'] = this.exceptionFields;
json[r'message'] = this.message;
json[r'more_info'] = this.moreInfo;
if (this.unrecoverable != null) {
json[r'unrecoverable'] = this.unrecoverable;
} else {
json[r'unrecoverable'] = null;
}
return json;
}