request<RESULT, SERVICERESPONSE> method
Future<RESULT>
request<RESULT, SERVICERESPONSE>(
- BaseServiceRequest<
RESULT, SERVICERESPONSE, AptosRequestDetails> request, { - Duration? timeout,
override
Sends a request to the cardano network (BlockFrost) using the specified request
parameter.
The timeout
parameter, if provided, sets the maximum duration for the request.
Whatever is received will be returned
Implementation
@override
Future<RESULT> request<RESULT, SERVICERESPONSE>(
BaseServiceRequest<RESULT, SERVICERESPONSE, AptosRequestDetails> request,
{Duration? timeout}) async {
final r = await _requestDynamic(request, false, timeout: timeout);
return request.onResonse(r);
}