GlobalState class

Global state of the NDK as a user you should not need to interact with this class
you should use the NDK API and keep the global state in memory

Constructors

GlobalState()

Properties

blockedRelays Set<String>
clean urls of relays that are blocked
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inFlightBroadcasts Map<String, BroadcastState>
hold state information for a broadcast key: event Id
final
inFlightRequests Map<String, RequestState>
holds the state of all in flight requests key: request Id used by concurrency check, and relay manager
final
relays Map<String, RelayConnectivity>
touched relays by ndk - connected, connecting, disconnected key: relay url/identifier value: relay connectivity
getter/setter pair
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