toJson method

Map<String, dynamic> toJson()

Implementation

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