Printer class

Information about a printer

Annotations

Constructors

Printer({required String url, String? name, String? model, String? location, String? comment, bool? isDefault, bool? isAvailable})
Create a printer information
const
Printer.fromMap(Map map)
Create an information object from a dictionnary
factory

Properties

comment → String?
A user comment about the printer
final
hashCode → int
The hash code for this object.
no setterinherited
isAvailable → bool
The printer is available for printing
final
isDefault → bool
Is this the default printer on the system
final
location → String?
The physical location of the printer
final
model → String?
The printer model
final
name → String
The display name of the printer
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → String
The platform specific printer identification
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
toString() → String
A string representation of this object.
override

Operators

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