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