flushPTTPrint method

Future<PrinterStatus> flushPTTPrint()

Transmits command and print data used to print a P-touch Template.

Implementation

Future<PrinterStatus> flushPTTPrint() async {
  var params = {
    "printerId": mPrinterId,
    "printInfo": mPrinterInfo.toMap(),
  };

  final Map resultMap = await _channel.invokeMethod("flushPTTPrint", params);
  PrinterStatus status = PrinterStatus.fromMap(resultMap);

  return status;
}