VerifyPasswordResponse.fromJson constructor

VerifyPasswordResponse.fromJson(
  1. Map _json
)

Implementation

VerifyPasswordResponse.fromJson(core.Map _json)
    : this(
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        email:
            _json.containsKey('email') ? _json['email'] as core.String : null,
        expiresIn: _json.containsKey('expiresIn')
            ? _json['expiresIn'] as core.String
            : null,
        idToken: _json.containsKey('idToken')
            ? _json['idToken'] as core.String
            : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        localId: _json.containsKey('localId')
            ? _json['localId'] as core.String
            : null,
        oauthAccessToken: _json.containsKey('oauthAccessToken')
            ? _json['oauthAccessToken'] as core.String
            : null,
        oauthAuthorizationCode: _json.containsKey('oauthAuthorizationCode')
            ? _json['oauthAuthorizationCode'] as core.String
            : null,
        oauthExpireIn: _json.containsKey('oauthExpireIn')
            ? _json['oauthExpireIn'] as core.int
            : null,
        photoUrl: _json.containsKey('photoUrl')
            ? _json['photoUrl'] as core.String
            : null,
        refreshToken: _json.containsKey('refreshToken')
            ? _json['refreshToken'] as core.String
            : null,
        registered: _json.containsKey('registered')
            ? _json['registered'] as core.bool
            : null,
      );