select<T> method

T select<T>(
  1. T selector<T>(
    1. S
    )
)

Implementation

T select<T>(T Function<T>(S) selector) {
  return selector(_state());
}