stateClearData static method

dynamic stateClearData(
  1. String stateName
)

Refresh the state of the form

Implementation

static stateClearData(String stateName) {
  updateState(state(stateName), data: {
    "action": "clear",
  });
}