toJson method
Implementation
Map<String, Object?> toJson() {
var groupId = this.groupId;
var html = this.html;
var labels = this.labels;
var name = this.name;
final json = <String, Object?>{};
if (groupId != null) {
json[r'groupId'] = groupId;
}
if (html != null) {
json[r'html'] = html;
}
json[r'labels'] = labels.map((i) => i.toJson()).toList();
if (name != null) {
json[r'name'] = name;
}
return json;
}