navigateAndRemoveCurrent<V extends ViewModel> abstract method
void
navigateAndRemoveCurrent<V extends ViewModel>({
Navigates to a new view modeland removed the calling viewmodel from the stack.
The parameter is a value that will be passed to the new viewmodel's
init method. The Future will be resolved with the ViewModel that is navigated to is
popped from the stack.
Implementation
void navigateAndRemoveCurrent<V extends ViewModel>({Object parameter});