Printer constructor
Printer({})
Implementation
Printer({
/// The printer's identifier; guaranteed to be unique among printers on the
/// device.
required String id,
/// The name of the printer.
required String name,
/// The human-readable description of the printer.
required String description,
/// The printer URI. This can be used by extensions to choose the printer
/// for
/// the user.
required String uri,
/// The source of the printer (user or policy configured).
required PrinterSource source,
/// The flag which shows whether the printer fits
/// <a
/// href="https://chromium.org/administrators/policy-list-3#DefaultPrinterSelection">
/// DefaultPrinterSelection</a> rules.
/// Note that several printers could be flagged.
required bool isDefault,
/// The value showing how recent the printer was used for printing from
/// Chrome. The lower the value is the more recent the printer was used. The
/// minimum value is 0. Missing value indicates that the printer wasn't used
/// recently. This value is guaranteed to be unique amongst printers.
int? recentlyUsedRank,
}) : _wrapped = $js.Printer(
id: id,
name: name,
description: description,
uri: uri,
source: source.toJS,
isDefault: isDefault,
recentlyUsedRank: recentlyUsedRank,
);