safeOptionsDecoded<T> method
Future<OxyResult<T>>
safeOptionsDecoded<
T>( - String path, {
- QueryMap? query,
- Object? body,
- Object? json,
- RequestOptions? options,
- Decoder<T>? decoder,
})
Implementation
Future<OxyResult<T>> safeOptionsDecoded<T>(
String path, {
QueryMap? query,
HeadersInit? headers,
Object? body,
Object? json,
RequestOptions? options,
Decoder<T>? decoder,
}) {
return safeRequestDecoded<T>(
'OPTIONS',
path,
query: query,
headers: headers,
body: body,
json: json,
options: options,
decoder: decoder,
);
}