onAppStateVariableRemoved method

void onAppStateVariableRemoved(
  1. String varKey
)

Update the graph when an app state variable is removed.

Implementation

void onAppStateVariableRemoved(String varKey) {
  final varNodeId = NodeIds.appStateVar(varKey);
  if (graph.hasNode(varNodeId)) {
    graph.removeNode(varNodeId);
  }
}