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