toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final debugInfo = this.debugInfo;
final location = this.location;
final message = this.message;
final reason = this.reason;
return {
'debugInfo': ?debugInfo,
'location': ?location,
'message': ?message,
'reason': ?reason,
};
}