escPos method
Implementation
Future<void> escPos(List<EscPosCmd> commands) async {
final builder = BytesBuilder();
for (final cmd in commands) {
builder.add(await cmd.data);
}
final bytes = builder.toBytes();
await _methodChannel.invokeMethod("escPos", bytes);
}