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