fetchWithStructuredData function
Future<FetchResponse>
fetchWithStructuredData(
- FetchOptions options,
- dynamic structuredData, {
- HttpxClient? httpxClient,
Implementation
Future<FetchResponse> fetchWithStructuredData(
FetchOptions options,
dynamic structuredData, {
HttpxClient? httpxClient,
}) async {
final fetchRequest = await fetch(options, httpxClient: httpxClient);
return fetchRequest.writeStructuredData(structuredData);
}