onSave abstract method

Future<Map<String, dynamic>> onSave()

Called when the node needs to save its state to storage.

Implementation

Future<Map<String, dynamic>> onSave();