IdentitytoolkitRelyingpartyVerifyPasswordRequest.fromJson constructor

IdentitytoolkitRelyingpartyVerifyPasswordRequest.fromJson(
  1. Map _json
)

Implementation

IdentitytoolkitRelyingpartyVerifyPasswordRequest.fromJson(core.Map _json)
    : this(
        captchaChallenge: _json.containsKey('captchaChallenge')
            ? _json['captchaChallenge'] as core.String
            : null,
        captchaResponse: _json.containsKey('captchaResponse')
            ? _json['captchaResponse'] as core.String
            : null,
        delegatedProjectNumber: _json.containsKey('delegatedProjectNumber')
            ? _json['delegatedProjectNumber'] as core.String
            : null,
        email:
            _json.containsKey('email') ? _json['email'] as core.String : null,
        idToken: _json.containsKey('idToken')
            ? _json['idToken'] as core.String
            : null,
        instanceId: _json.containsKey('instanceId')
            ? _json['instanceId'] as core.String
            : null,
        password: _json.containsKey('password')
            ? _json['password'] as core.String
            : null,
        pendingIdToken: _json.containsKey('pendingIdToken')
            ? _json['pendingIdToken'] as core.String
            : null,
        returnSecureToken: _json.containsKey('returnSecureToken')
            ? _json['returnSecureToken'] as core.bool
            : null,
        tenantId: _json.containsKey('tenantId')
            ? _json['tenantId'] as core.String
            : null,
        tenantProjectNumber: _json.containsKey('tenantProjectNumber')
            ? _json['tenantProjectNumber'] as core.String
            : null,
      );