GoogleCloudIdentitytoolkitV1CreateAuthUriResponse.fromJson constructor

GoogleCloudIdentitytoolkitV1CreateAuthUriResponse.fromJson(
  1. Map json_
)

Implementation

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