sendRawCommands method
Sends raw ESC/POS commands to printer over Bluetooth.
Implementation
@override
Future<void> sendRawCommands(
BluetoothPrinter printer,
Uint8List commands,
) async {
await methodChannel.invokeMethod<void>('sendRawCommands', <String, Object?>{
'printer': printer.toMap(),
'bytes': commands.toList(),
});
}