restart method

Future<void> restart(
  1. Node node
)

Implementation

Future<void> restart(Node node) async {
  Object? tag = node.$tag;
  bool root = node.$rootNode;
  await removeNodeExplicit(node);
  await addOrGetNode(node.runtimeType, tag: tag, root: root);
}