getTopGame method

  1. @override
Future<HttpResult<OpenApiGetGameResponse>> getTopGame()
override

Implementation

@override
Future<HttpResult<OpenApiGetGameResponse>> getTopGame() {
  return client.makeGet(
    OpenApiChannelConstants.getTopGameEndpoint,
    convertBodyFunc: (response) =>
        OpenApiGetGameResponse.fromHttpResponse(response),
    bearerToken: token,
    clientId: clientId,
  );
}