UsbAccessoryDevice class Null safety

Inheritance
Annotations
  • @JsonSerializable()

Constructors

UsbAccessoryDevice({required String manufacturer, required String model, String? description, String? version, String? serial, String? uri})
UsbAccessoryDevice.fromJson(Map<String, dynamic> json)
factory
UsbAccessoryDevice.fromProto(UsbAccessoryDevice device)
factory

Properties

description → String?
final
hashCode → int
The hash code for this object.
read-only, inherited
manufacturer → String
final
model → String
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
serial → String?
final
type ↔ PrinterDeviceType
read / write, inherited
uri → String?
final
version → String?
final

Methods

identify() → String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toProto() → UsbAccessoryDevice
toString() → String
A string representation of this object.
override

Operators

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