GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse.fromJson constructor

GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitV1SignInWithGameCenterResponse.fromJson(
    core.Map _json)
    : this(
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        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,
        localId: _json.containsKey('localId')
            ? _json['localId'] as core.String
            : null,
        playerId: _json.containsKey('playerId')
            ? _json['playerId'] as core.String
            : null,
        refreshToken: _json.containsKey('refreshToken')
            ? _json['refreshToken'] as core.String
            : null,
      );