optionsJSON method
Does an OPTION request and returns a decoded JSON.
Implementation
Future<dynamic> optionsJSON(
String path, {
Map<String, String>? headers,
Credential? authorization,
Map<String, Object?>? parameters,
}) async {
return options(
path,
headers: headers,
authorization: authorization,
parameters: parameters,
).then((r) => _jsonDecodeResponse(r));
}