state property

ToneDetectorState get state

Implementation

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

Implementation

set state(ToneDetectorState state) {
  _state = state;
  stream.value = state;
}