printBytes method

Future<void> printBytes(
  1. Uint8List bytes
)

RAW BYTES PRINT (most important)

Implementation

Future<void> printBytes(Uint8List bytes) async {
  if (!await isConnected) {
    throw Exception('Printer not connected');
  }
  await _plugin.printFile(bytes);
}