getCurrentConnectionState method
Asks the platform to get the current connection state for a Bluetooth device by its address.
Returns a Future of BleConnectionState.
Implementation
Future<BleConnectionState> getCurrentConnectionState(String deviceAddress) {
return CentralPlatformInterface.instance
.getCurrentConnectionState(deviceAddress);
}