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