printDocument method

Future<void> printDocument()

Invokes the system's print service to print the current document.

example:

await document.printDocument();

Implementation

Future<void> printDocument() async {
  await _channel.invokeMethod('print');
}