bind method

Stream<void> bind(
  1. Stream<int> states
)

Applies accept to a stream of raw button states.

Implementation

Stream<void> bind(Stream<int> states) => states.where(accept).map((_) {});