navigateBack method

void navigateBack()
override

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

Implementation

void navigateBack() {
  Navigator.of(_viewContext).pop();
}