listPrinters static method

Future<List<Printer>> listPrinters()

Enumerate the available printers on the system.

This is not supported on all platforms. Check the result of info to find at runtime if this feature is available or not.

Implementation

static Future<List<Printer>> listPrinters() {
  return PrintingPlatform.instance.listPrinters();
}