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