getName method

  1. @override
Future<HttpResult<OpenApiGetGameResponse>> getName({
  1. required String name,
})
override

Implementation

@override
Future<HttpResult<OpenApiGetGameResponse>> getName({required String name}) {
  return client.makeGet(
    OpenApiChannelConstants.getGameEndpoint,
    convertBodyFunc: (response) =>
        OpenApiGetGameResponse.fromHttpResponse(response),
    bearerToken: token,
    clientId: clientId,
    queryParameters: {OpenApiChannelConstants.queryParamName: name},
  );
}