Persist the nodes in this provider. If you are not using a LinkProvider, then call setPersistFunction to set the function that is called to persist.
Source
void persist([bool now = false]) { if (now) { if (_persist == null) { return; } _persist(); } else { new Future.delayed(const Duration(seconds: 5), () { if (_persist == null) { return; } _persist(); }); } }