removeAndComplete method
Implementation
void removeAndComplete(BuildContext context, [ T? result ]) {
Navigator.removeRoute(context, this);
assert(!isActive);
didComplete(result);
}
void removeAndComplete(BuildContext context, [ T? result ]) {
Navigator.removeRoute(context, this);
assert(!isActive);
didComplete(result);
}