dispose method

Future<void> dispose()

Implementation

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