IdentitytoolkitRelyingpartyCreateAuthUriRequest.fromJson constructor

IdentitytoolkitRelyingpartyCreateAuthUriRequest.fromJson(
  1. Map json_
)

Implementation

IdentitytoolkitRelyingpartyCreateAuthUriRequest.fromJson(core.Map json_)
    : this(
        appId:
            json_.containsKey('appId') ? json_['appId'] as core.String : null,
        authFlowType: json_.containsKey('authFlowType')
            ? json_['authFlowType'] as core.String
            : null,
        clientId: json_.containsKey('clientId')
            ? json_['clientId'] as core.String
            : null,
        context: json_.containsKey('context')
            ? json_['context'] as core.String
            : null,
        continueUri: json_.containsKey('continueUri')
            ? json_['continueUri'] as core.String
            : null,
        customParameter: json_.containsKey('customParameter')
            ? (json_['customParameter']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        hostedDomain: json_.containsKey('hostedDomain')
            ? json_['hostedDomain'] as core.String
            : null,
        identifier: json_.containsKey('identifier')
            ? json_['identifier'] as core.String
            : null,
        oauthConsumerKey: json_.containsKey('oauthConsumerKey')
            ? json_['oauthConsumerKey'] as core.String
            : null,
        oauthScope: json_.containsKey('oauthScope')
            ? json_['oauthScope'] as core.String
            : null,
        openidRealm: json_.containsKey('openidRealm')
            ? json_['openidRealm'] as core.String
            : null,
        otaApp: json_.containsKey('otaApp')
            ? json_['otaApp'] as core.String
            : null,
        providerId: json_.containsKey('providerId')
            ? json_['providerId'] as core.String
            : null,
        sessionId: json_.containsKey('sessionId')
            ? json_['sessionId'] as core.String
            : null,
        tenantId: json_.containsKey('tenantId')
            ? json_['tenantId'] as core.String
            : null,
        tenantProjectNumber: json_.containsKey('tenantProjectNumber')
            ? json_['tenantProjectNumber'] as core.String
            : null,
      );