get method
Implementation
Future<Response<dynamic>> get(
String path, {
APIType apiType = APIType.public,
Map<String, dynamic>? query,
Map<String, dynamic>? headers,
bool shouldCache = false,
}) async {
_setDioInterceptorList(shouldCache: shouldCache);
final standardHeaders = await _getOptions(apiType);
return _dio
.get(path, queryParameters: query, options: standardHeaders)
.then((value) => value)
.catchError(_handleException);
}