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