dispose method Null safety

  1. @protected
  2. @mustCallSuper
void dispose()

Releases any resources used by the object.

Implementation

@protected
@mustCallSuper
void dispose() {
  _arenaEntry?.resolve(GestureDisposition.rejected);
  _arenaEntry = null;
  assert(() {
    _pendingDelta = null;
    return true;
  }());
}