collect method

List<OperationState> collect(
  1. State state
)

Implementation

List<OperationState> collect(State state) {
  final states = state.accept(this);
  return states;
}