dispose method
Implementation
Future<void> dispose() async {
Future.wait([
_addedNodesSubscription.cancel(),
_removeNodesSubscription.cancel(),
if (_insertNodesSubscription != null) _insertNodesSubscription!.cancel(),
]);
}
Future<void> dispose() async {
Future.wait([
_addedNodesSubscription.cancel(),
_removeNodesSubscription.cancel(),
if (_insertNodesSubscription != null) _insertNodesSubscription!.cancel(),
]);
}