get<T> method
GET request
Implementation
Future<T> get<T>(String path, {Map<String, dynamic>? queryParameters}) async {
try {
final response = await _dio.get<Map<String, dynamic>>(
path,
queryParameters: queryParameters,
);
return _handleResponse<T>(response);
} on DioException catch (e) {
throw ApiException.from(e);
}
}