toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final enabled = this.enabled;
  final settingsGroup = this.settingsGroup;
  return {
    'Enabled': enabled,
    if (settingsGroup != null) 'SettingsGroup': settingsGroup,
  };
}