stateSetOptions static method

dynamic stateSetOptions(
  1. String stateName,
  2. String key,
  3. dynamic value
)

Set field in the form

Implementation

static stateSetOptions(String stateName, String key, dynamic value) {
  updateState(state(stateName),
      data: {"action": "setOptions", "key": key, "value": value});
}