navigateBack method

  1. @override
void navigateBack()
override

Pops the current view / viewmodel off the stack and goes to the previous one.

Implementation

@override
void navigateBack() {
  ArgumentError.checkNotNull(_viewContext, '_viewContext');
  Navigator.of(_viewContext!).pop();
}