onViewModelDestroy method

  1. @override
void onViewModelDestroy()
override

Implementation

@override
void onViewModelDestroy() {
  super.onViewModelDestroy();
  node.unfocus();
  dismiss();
}