toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final errorMessage = this.errorMessage;
final httpStatusCode = this.httpStatusCode;
final type = this.type;
return {
'errorMessage': ?errorMessage,
'httpStatusCode': ?httpStatusCode,
'type': ?type,
};
}