setMaxUploadRetryTime method

void setMaxUploadRetryTime(
  1. Duration time
)

Sets the maximum time to retry upload operations.

Parameters:

  • time: The new maximum upload retry time.

Implementation

void setMaxUploadRetryTime(Duration time) {
  assert(!time.isNegative);
  _maxUploadRetryTime = time.inMilliseconds;
}