startTimeout method

void startTimeout()

Starts the timeout timer. Call this after signing is complete.

Implementation

void startTimeout() {
  if (_timeoutStarted) return;
  _timeoutStarted = true;
  _timeoutTimer = Timer(timeout, () {
    if (!publishDone) {
      _stateUpdatesController.add(this);
      _dispose();
    }
  });
}