SessionData class
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
-
SessionData({required String topic, required String pairingTopic, required Relay relay, required int expiry, required bool acknowledged, required String controller, required Map<
String, Namespace> namespaces, Map<String, RequiredNamespace> ? requiredNamespaces, Map<String, RequiredNamespace> ? optionalNamespaces, Map<String, String> ? sessionProperties, required ConnectionMetadata self, required ConnectionMetadata peer}) -
SessionData.fromJson(Map<
String, dynamic> json) -
factory
Properties
- acknowledged ↔ bool
-
getter/setter pair
- controller → String
-
final
- expiry ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
namespaces
↔ Map<
String, Namespace> -
getter/setter pair
-
optionalNamespaces
→ Map<
String, RequiredNamespace> ? -
final
- pairingTopic → String
-
final
- peer → ConnectionMetadata
-
final
- relay → Relay
-
final
-
requiredNamespaces
→ Map<
String, RequiredNamespace> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- self → ConnectionMetadata
-
final
-
sessionProperties
→ Map<
String, String> ? -
final
- topic → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited