write method
Sends raw bytes to USB device. Requires open connection to USB device.
Implementation
Future<bool?> write(Uint8List bytes) async {
Map<String, dynamic> args = {"bytes": bytes};
try {
return await _methodChannel!.invokeMethod("write", args);
} on PlatformException catch (e) {
throw _getTypedException(e);
}
}