stateReset static method

dynamic stateReset(
  1. String stateName
)

Resets the state

Implementation

static stateReset(String stateName) {
  updateState(stateName, data: {"action": "reset", "data": {}});
}