Map<String, dynamic> toJson() { final Map<String, dynamic> data = Map<String, dynamic>(); data['label'] = this.label; data['name'] = this.name; data['id'] = this.id; return data; }