pop method
void
pop({
- dynamic result,
Implementation
void pop({dynamic result}) async {
if (canPop()) {
return Navigator.of(this).pop(result);
}
throw CustomException('Navigate Can Not Pop');
}