Printer class

Constructors

Printer({required String id, required String name, required String description, required String uri, required PrinterSource source, required bool isDefault, int? recentlyUsedRank})
Printer.fromJS(Printer _wrapped)

Properties

description String
The human-readable description of the printer.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
The printer's identifier; guaranteed to be unique among printers on the device.
getter/setter pair
isDefault bool
The flag which shows whether the printer fits DefaultPrinterSelection rules. Note that several printers could be flagged.
getter/setter pair
name String
The name of the printer.
getter/setter pair
recentlyUsedRank int?
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.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source PrinterSource
The source of the printer (user or policy configured).
getter/setter pair
toJS Printer
no setter
uri String
The printer URI. This can be used by extensions to choose the printer for the user.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited