HttpTransport typedef
HttpTransport =
Future<HttpResponseData> Function(String method, Uri uri, {String? body, Map<String, String> ? headers})
Abstract function signature for dispatching HTTP requests.
Implementation
typedef HttpTransport = Future<HttpResponseData> Function(
String method,
Uri uri, {
Map<String, String>? headers,
String? body,
});