sendData static method
Send data to the connected BLE device
data
- String data to send to the device
Returns true if data was sent successfully, false otherwise
Implementation
static Future<bool> sendData(String data) {
return BluetoothConnectionPluginPlatform.instance.sendBleData(data);
}