SessionId class

Unique identity of a brokered session, minted by the Hub when a session is opened. Equality is by value.

Constructors

SessionId(String value)
Wraps an existing session id value.
factory
SessionId.generate()
Mints a fresh, random session id.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The raw identifier string (a UUID when generated).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override