toJson method

Map<String, dynamic> toJson()

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,
  };
}