dio static method
Implementation
static Future<Dio> dio() async {
return Dio(buildBaseOptions())..interceptors.add(DioCacheInterceptor(options: await getCacheOptions()));
}
static Future<Dio> dio() async {
return Dio(buildBaseOptions())..interceptors.add(DioCacheInterceptor(options: await getCacheOptions()));
}