forEachState method

  1. @nonVirtual
void forEachState(
  1. ForeachStateFunction fn
)

Implementation

@nonVirtual
void forEachState(ForeachStateFunction fn) {
  for (var state in _states) {
    if (state.mounted) {
      fn(state);
    }
  }
}