onStateChange property

Implementation

Stream<DigitalInputStateChangeEvent> get onStateChange =>
    _stateStreamController.stream;