select<T> function

Stream<T> select <T>(
  1. String stateName
)

This is a helper function of store().select(String stateName).

Example

final _counter$ =select('counter')

Implementation

Stream<T> select<T>(String stateName) {
  try {
    return _store.select<T>(stateName);
  } catch (_) {
    throw "select() function should not work until you enableGlobalApi:true inside createStore() function.";
  }
}