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