writeText method
Write text to the connected device. Must connect to a device first. Throw BTException if failed.
Implementation
@override
Future<bool> writeText(String text, {String? characteristicUuid}) async {
return writeRawData(utf8.encode(text) as Uint8List, characteristicUuid: characteristicUuid);
}