safeGetDecoded<T> method

Future<OxyResult<T>> safeGetDecoded<T>(
  1. String path, {
  2. QueryMap? query,
  3. HeadersInit? headers,
  4. RequestOptions? options,
  5. Decoder<T>? decoder,
})

Implementation

Future<OxyResult<T>> safeGetDecoded<T>(
  String path, {
  QueryMap? query,
  HeadersInit? headers,
  RequestOptions? options,
  Decoder<T>? decoder,
}) {
  return safeRequestDecoded<T>(
    'GET',
    path,
    query: query,
    headers: headers,
    options: options,
    decoder: decoder,
  );
}