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