onPush method

  1. @override
void onPush()
override

Called after the page is pushed onto the router.

Implementation

@override
void onPush() {
  super.onPush();
  layer.saveSnapshot();
  entities?.saveSnapshot();
}