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