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