CreateAuthUriResponse.fromJson constructor

CreateAuthUriResponse.fromJson(
  1. Map json_
)

Implementation

CreateAuthUriResponse.fromJson(core.Map json_)
  : this(
      allProviders:
          (json_['allProviders'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      authUri: json_['authUri'] as core.String?,
      captchaRequired: json_['captchaRequired'] as core.bool?,
      forExistingProvider: json_['forExistingProvider'] as core.bool?,
      kind: json_['kind'] as core.String?,
      providerId: json_['providerId'] as core.String?,
      registered: json_['registered'] as core.bool?,
      sessionId: json_['sessionId'] as core.String?,
      signinMethods:
          (json_['signinMethods'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
    );