updateState method

dynamic updateState(
  1. String newState, [
  2. dynamic data
])

Implementation

external updateState(String newState, [dynamic data]);