setSendTimeout method

dynamic setSendTimeout(
  1. Duration duration
)

Set the sendTimeout for the request.

Implementation

setSendTimeout(Duration duration) {
  _api.options.sendTimeout = duration;
}