NmDomeConnectionInfo class

The connection as the UI shows it.

Annotations

Constructors

NmDomeConnectionInfo({NmDomeConnectionState state = NmDomeConnectionState.idle, NmDomeInfo? dome, NmDomeRole role = NmDomeRole.unknown, Duration? latency, bool stale = false, String? errorCode, NmDomeEngineInfo? engine})
Creates an NmDomeConnectionInfo.
const

Properties

dome → NmDomeInfo?
The dome, when one is chosen.
final
engine → NmDomeEngineInfo?
Engine status, when the app reports it.
final
errorCode → String?
SDK problem code of the last error (see NmFreedomeErrorText).
final
hashCode → int
The hash code for this object.
no setterinherited
isUsable → bool
Whether commands can be sent.
no setter
latency → Duration?
Round-trip time.
final
role → NmDomeRole
The user's role.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stale → bool
Whether the shown data may be out of date (offline cache).
final
state → NmDomeConnectionState
The state.
final

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

Constants

idle → const NmDomeConnectionInfo
Nothing connected.