GoogleCloudIdentitytoolkitV1SignInWithCustomTokenRequest.fromJson constructor

GoogleCloudIdentitytoolkitV1SignInWithCustomTokenRequest.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitV1SignInWithCustomTokenRequest.fromJson(
    core.Map _json)
    : this(
        delegatedProjectNumber: _json.containsKey('delegatedProjectNumber')
            ? _json['delegatedProjectNumber'] as core.String
            : null,
        instanceId: _json.containsKey('instanceId')
            ? _json['instanceId'] as core.String
            : null,
        returnSecureToken: _json.containsKey('returnSecureToken')
            ? _json['returnSecureToken'] as core.bool
            : null,
        tenantId: _json.containsKey('tenantId')
            ? _json['tenantId'] as core.String
            : null,
        token:
            _json.containsKey('token') ? _json['token'] as core.String : null,
      );