UsbDevice class Null safety

Inheritance
Annotations
  • @JsonSerializable()

Constructors

UsbDevice({required String name, required String version, String? manufactureName, String? productName, int? vendorId, int? productId, int? mainclass, int? subClass})
UsbDevice.fromJson(Map<String, dynamic> json)
factory
UsbDevice.fromProto(UsbDevice device)
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
mainclass int?
final
manufactureName String?
final
name String
final
productId int?
final
productName String?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subClass int?
final
type PrinterDeviceType
read / write, inherited
vendorId int?
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() UsbDevice
toString() String
A string representation of this object.
override

Operators

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