Device class
Constructors
- Device({String? deviceName = '', String? manufacturerName = '', String? productName = '', String? version = '', String? serialNumber = '', int deviceId = 0, int vendorId = 0, int productId = 0, int deviceClass = 0, int deviceSubclass = 0, int deviceProtocol = 0, int configurationCount = 0})
-
Device.fromJson(Map<
String, dynamic> json) -
factory
Properties
- configurationCount ↔ int
-
getter/setter pair
- deviceClass ↔ int
-
getter/setter pair
- deviceId ↔ int
-
getter/setter pair
- deviceName ↔ String?
-
getter/setter pair
- deviceProtocol ↔ int
-
getter/setter pair
- deviceSubclass ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- manufacturerName ↔ String?
-
getter/setter pair
- productId ↔ int
-
getter/setter pair
- productName ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serialNumber ↔ String?
-
getter/setter pair
- vendorId ↔ int
-
getter/setter pair
- version ↔ String?
-
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited