get static method

Future get(
  1. String path, {
  2. Map<String, dynamic>? params,
  3. Options? options,
  4. CancelToken? cancelToken,
  5. bool refresh = false,
  6. bool noCache = !BaseHttpConstant.CACHE_ENABLE,
  7. String? cacheKey,
  8. bool cacheDisk = false,
})

Implementation

static Future get(
    String path, {
      Map<String, dynamic>? params,
      Options? options,
      CancelToken? cancelToken,
      bool refresh = false,
      bool noCache = !BaseHttpConstant.CACHE_ENABLE,
      String? cacheKey,
      bool cacheDisk = false,
    }) async {
  return await HttpManager().get(
    path,
    params: params,
    options: options,
    cancelToken: cancelToken,
    refresh: refresh,
    noCache: noCache,
    cacheKey: cacheKey,
  );
}