get static method
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,
})
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,
);
}