get method
Implementation
Future<void> get({Map<String, String>? queryParams, Function? onSuccess, Function? onError}) {
return _requestWrapper(() {
var uri = Uri.parse(baseUrl).replace(queryParameters: queryParams);
return _client.get(uri, headers: _headers);
}, onSuccess: onSuccess, onError: onError);
}