printDocument static method

Future<bool> printDocument(
  1. StarXpandPrinter printer,
  2. StarXpandDocument document
)

Implementation

static Future<bool> printDocument(
    StarXpandPrinter printer, StarXpandDocument document) async {
  return await _channel.invokeMethod('printDocument',
      {"printer": printer.toMap(), "document": document.toMap()});
}