fetch method

Future<Response<Success>> fetch({
  1. Dio? dio,
  2. CancelToken? cancelToken,
  3. ProgressCallback? onSendProgress,
  4. ProgressCallback? onReceiveProgress,
})

Implementation

Future<Response<Success>> fetch({
  dio_package.Dio? dio,
  dio_package.CancelToken? cancelToken,
  dio_package.ProgressCallback? onSendProgress,
  dio_package.ProgressCallback? onReceiveProgress,
}) async {
  var r = await network.fetch(this, dio: dio, cancelToken: cancelToken);
  return r;
}