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