toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allProviders != null) 'allProviders': allProviders!,
      if (authUri != null) 'authUri': authUri!,
      if (captchaRequired != null) 'captchaRequired': captchaRequired!,
      if (forExistingProvider != null)
        'forExistingProvider': forExistingProvider!,
      if (kind != null) 'kind': kind!,
      if (providerId != null) 'providerId': providerId!,
      if (registered != null) 'registered': registered!,
      if (sessionId != null) 'sessionId': sessionId!,
      if (signinMethods != null) 'signinMethods': signinMethods!,
    };