NmFakeDomeConnection class

A connection that succeeds at once.

Implemented types

Constructors

NmFakeDomeConnection(List<String> log, [NmDomeConnectionInfo initial = NmDomeConnectionInfo.idle])
Creates an NmFakeDomeConnection.

Properties

connection → ValueListenable<NmDomeConnectionInfo>
State, dome, role, latency, stale data, error code, engine.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
log → List<String>
Shared call log.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → ValueNotifier<NmDomeConnectionInfo>
The current info (set it to show any state).
final

Methods

connect(NmDomeInfo dome) → Future<void>
Connects to a discovered dome.
override
connectManual(String address) → Future<void>
Connects to a typed address (host[:port] or URL).
override
disconnect() → Future<void>
Disconnects.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pair(String pairingLink) → Future<void>
Pairs with a pairing link (QR or pasted).
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited