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