GoogleCloudIdentitytoolkitV1SignInWithCustomTokenResponse.fromJson constructor

GoogleCloudIdentitytoolkitV1SignInWithCustomTokenResponse.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitV1SignInWithCustomTokenResponse.fromJson(
    core.Map _json)
    : this(
        expiresIn: _json.containsKey('expiresIn')
            ? _json['expiresIn'] as core.String
            : null,
        idToken: _json.containsKey('idToken')
            ? _json['idToken'] as core.String
            : null,
        isNewUser: _json.containsKey('isNewUser')
            ? _json['isNewUser'] as core.bool
            : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        refreshToken: _json.containsKey('refreshToken')
            ? _json['refreshToken'] as core.String
            : null,
      );