forcePush method

Future<void> forcePush()

Explicit pulls and reconnects must replace the receiver's entire tree, even when the current UI is identical to our previous capture.

Implementation

Future<void> forcePush() {
  // The forced capture also satisfies any queued trigger. If navigation is
  // still in progress, _captureAndPush rearms it and retains the force flag.
  _debouncer?.cancel();
  _debouncer = null;
  _firstScheduledAt = null;
  return _captureAndPush(force: true);
}