goBack<T> method
void
goBack<T>({
- dynamic result,
Implementation
void goBack<T>({result}) {
if (_navigationKey.currentState!.canPop()) {
_navigationKey.currentState!.pop(result);
} else {
_goBackToTheApp();
}
}