DeviceInfo class
A device in a database's roster, as reported by Database.devices().
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The device fingerprint.
final
- isThisDevice → bool
-
Whether this record is the device asking.
final
- label → String
-
The human-readable label.
final
- lastSeen → DateTime?
-
When the device was last seen on the transport, or
nullif not tracked yet (the handshake does not carry the device id until a later step).final - pairedAt → DateTime
-
When the device joined the roster.
final
- revoked → bool
-
Whether the device has been revoked.
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