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