markForComplete abstract method Null safety

void markForComplete(
  1. [dynamic result]

Marks the route to be completed without transition.

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


void markForComplete([dynamic result]);