states method

Returns a stream of window state changes.

Implementation

Stream<YaruWindowState> states() async* {
  yield await _platform.state(_id);
  yield* _platform.states(_id);
}