WearableDevice class
Represents a paired Meta wearable device (e.g. Ray-Ban Meta glasses).
Constructors
- WearableDevice({required String id, required String name, required bool isConnected})
-
const
- WearableDevice.fromMap(Map map)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique identifier for the device.
final
- isConnected → bool
-
Whether the device is currently connected via Bluetooth.
final
- name → String
-
Human-readable name of the device.
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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited