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