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