setReceiveTimeout method

dynamic setReceiveTimeout(
  1. Duration duration
)
inherited

Set the receiveTimeout for the request.

Implementation

setReceiveTimeout(Duration duration) {
  _api.options.receiveTimeout = duration;
}