Map<String, Object?> toJson() { var labels = this.labels; var type = this.type; final json = <String, Object?>{}; json[r'labels'] = labels; json[r'type'] = type; return json; }