Future<void> removeNode(String id) async { value = value.copyWith(nodes: Map<String, UArNode>.of(value.nodes)..remove(id)); await _invoke<void>("removeNode", <String, Object?>{"id": id}); }