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