getPrinters method
Returns the list of available printers on the device. This includes manually added, enterprise and discovered printers.
Implementation
Future<List<Printer>> getPrinters() async {
var $res = await $js.chrome.printing.getPrinters().toDart;
return $res.toDart
.cast<$js.Printer>()
.map((e) => Printer.fromJS(e))
.toList();
}