startTransactionPrint static method

Future<void> startTransactionPrint([
  1. bool clear = false
])

startTransactionPrint

If you want to print in one transaction, you can start the transaction, build your print commands without send to the buffer

Implementation

static Future<void> startTransactionPrint([bool clear = false]) async {
  Map<String, dynamic> arguments = <String, dynamic>{"clearEnter": clear};
  await _channel.invokeMethod("ENTER_PRINTER_BUFFER", arguments);
}