GoogleCloudIdentitytoolkitV1CreateAuthUriRequest.fromJson constructor

GoogleCloudIdentitytoolkitV1CreateAuthUriRequest.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitV1CreateAuthUriRequest.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,
        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, item) => core.MapEntry(
                  key,
                  item 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,
      );