Printer constructor

Printer({
  1. required String name,
  2. required String uri,
  3. 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,
      );