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