state property

RadioPlayerState get state

The fake's current state.

Implementation

RadioPlayerState get state => _state;
set state (RadioPlayerState state)

Pushes state as if the native player had emitted it.

Implementation

set state(RadioPlayerState state) {
  _state = state;
  _events.add(state);
}