handleLifecycleEventRemove method

  1. @internal
LifecycleEventStatus handleLifecycleEventRemove(
  1. Component parent
)

Implementation

@internal
LifecycleEventStatus handleLifecycleEventRemove(Component parent) {
  if (_parent == null) {
    parent._children?.remove(this);
  } else {
    _remove();
    assert(_parent == null);
  }
  return LifecycleEventStatus.done;
}