call method
Implementation
@override
void call(param) {
final navigator = Navigator.of(param, rootNavigator: rootNavigator);
if (popTimes != null) {
for (var i = 0; i <= popTimes!; i++) {
if (navigator.canPop()) navigator.pop(returnedParam);
}
} else {
navigator.pop(returnedParam);
}
}