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