get method

Future<Response> get(
  1. String path, {
  2. Map<String, dynamic>? queryParameters,
})

Implementation

Future<Response> get(String path,
    {Map<String, dynamic>? queryParameters}) async {
  try {
    final response = await _dio.get(path, queryParameters: queryParameters);
    return response;
  } catch (e) {
    rethrow;
  }
}