Printer constructor
Printer({
- required String name,
- required String uri,
- required PrinterSource source,
Implementation
Printer({
/// Displayed name of the printer.
required String name,
/// The full path for the printer.
/// Contains protocol, hostname, port, and queue.
required String uri,
/// The source of the printer.
required PrinterSource source,
}) : _wrapped = $js.Printer(
name: name,
uri: uri,
source: source.toJS,
);