init method
Dio
init()
Implementation
Dio init() {
Dio _dio = new Dio();
_dio.interceptors.add(new ApiInterceptors());
_dio.options.baseUrl = "$baseUrl";
return _dio;
}
Dio init() {
Dio _dio = new Dio();
_dio.interceptors.add(new ApiInterceptors());
_dio.options.baseUrl = "$baseUrl";
return _dio;
}