onStop method

  1. @override
Future<void> onStop()
override

Called when the node is stopped. You may still write to your state as the node will save its state after this method is called.

Implementation

@override
Future<void> onStop() async {}