remove method
Implementation
@override
void remove() {
if (route.isCurrent) {
route.navigator?.pop();
} else {
route.navigator?.removeRoute(route);
}
}
@override
void remove() {
if (route.isCurrent) {
route.navigator?.pop();
} else {
route.navigator?.removeRoute(route);
}
}