setRetry method

dynamic setRetry(
  1. int retry
)
inherited

Set how many times the request should retry if it fails.

Implementation

setRetry(int retry) {
  this.retry = retry;
}