cancel static method

void cancel()

Cancels the currently scheduled retry (if any)

Implementation

static void cancel() {
  _retryTimer?.cancel();
  _retryTimer = null;
}