fetchWithNoData function

Future<FetchResponse> fetchWithNoData(
  1. FetchOptions options, {
  2. HttpxClient? httpxClient,
})

Implementation

Future<FetchResponse> fetchWithNoData(
  FetchOptions options, {
  HttpxClient? httpxClient,
}) async {
  final fetchRequest = await fetch(options, httpxClient: httpxClient);

  return fetchRequest.close();
}