Node class

Configuration for the LSL transport.

Implemented types
Implementers

Constructors

Node(NodeConfig config)

Properties

asCoordinator → CoordinatorNode
Attempts to promote the current node to a CoordinatorNode.
no setter
asObserver → ObserverNode
Attempts to promote the current node to an ObserverNode.
no setter
asParticipant → ParticipantNode
Attempts to promote the current node to a ParticipantNode.
no setter
asRelay → RelayNode
Attempts to promote the current node to a RelayNode.
no setter
asTransformer → TransformerNode
Attempts to promote the current node to a TransformerNode.
no setter
capabilities → Set<NodeCapability>
Type of the node. This is a NodeCapability enum value.
no setter
config → NodeConfig
Configuration for the node. This is a NodeConfig object.
final
createdAt → DateTime
no setter
description → String?
Returns a description of the identity.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique identifier for the node.
no setteroverride
lastSeen → DateTime
no setter
metadata → Map<String, dynamic>
Returns the metadata associated with this resource.
no setteroverride
name → String
Human-readable name for the node.
no setteroverride
nodeStartedAt → DateTime?
no setter
promotedAt → DateTime?
no setter
role → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uId → String
Returns a unique identifier that is guaranteed to be globally unique.
no setteroverride

Methods

getMetadata(String key, {dynamic defaultValue}) → dynamic
Returns a specific metadata value by key.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
seen() → void
setMetadata(String key, dynamic value) → void
toString() → String
A string representation of this object.
override

Operators

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