core.Map<core.String, core.dynamic> toJson() => { if (group != null) 'group': group!, if (preferenceSet != null) 'preferenceSet': preferenceSet!, };