changeState method

dynamic changeState(
  1. PulseXState state
)

Implementation

changeState(PulseXState state) {
  value = state as V;
  notifyListeners();
}