Device class

Constructors

Device({required int id, required String displayName, required DeviceCategory category, required String model, required bool isConnected})
const
Device.fromJson(Map<String, dynamic> json)
factory

Properties

category → DeviceCategory
final
displayName → String
example: "Wohnzimmerheizung"
final
hashCode → int
The hash code for this object.
no setterinherited
id → int
example: 16
final
isConnected → bool
final
model → String
examples: "FRITZ!DECT 302", "FRITZ!DECT 200", "FRITZ!DECT 210"
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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