stateReset static method

  1. @Deprecated('Use CollectionView.stateActions(stateName).reset() instead')
void stateReset(
  1. String stateName
)

Resets the state.

Implementation

@Deprecated('Use CollectionView.stateActions(stateName).reset() instead')
static void stateReset(String stateName) {
  updateState(stateName, data: {"action": "reset", "data": {}});
}