markForRemove method Null safety

void markForRemove()

Marks the route to be removed without transition.

During TransitionDelegate.resolve, this can be called on an exiting route to indicate that the route should be removed from the Navigator without completing and without an animated transition.

Implementation

void markForRemove();