getConnectionStates method

  1. @override
Stream<BleConnectionState> getConnectionStates()
override

Returns stream to listen for changes in connection states.

Implementation

@override
Stream<BleConnectionState> getConnectionStates() {
  return Stream.fromIterable([BleConnectionState.connected]);
}