SessionData constructor
- @JsonSerializable(includeIfNull: false)
const
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,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory 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;