toJson method
Implementation
Map<String, dynamic> toJson() {
final thingGroupNames = this.thingGroupNames;
final overrideDynamicGroups = this.overrideDynamicGroups;
return {
'thingGroupNames': thingGroupNames,
if (overrideDynamicGroups != null)
'overrideDynamicGroups': overrideDynamicGroups,
};
}