toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final cause = this.cause;
  final code = this.code;
  return {'cause': ?cause, 'code': ?code};
}