ProposalData constructor
- @JsonSerializable(includeIfNull: false)
const
ProposalData(
{ - required int id,
- required int expiry,
- required List<Relay> relays,
- required ConnectionMetadata proposer,
- required Map<String, RequiredNamespace> requiredNamespaces,
- required Map<String, RequiredNamespace> optionalNamespaces,
- required String pairingTopic,
- Map<String, String>? sessionProperties,
- Map<String, Namespace>? generatedNamespaces,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ProposalData({
required int id,
required int expiry,
required List<Relay> relays,
required ConnectionMetadata proposer,
required Map<String, RequiredNamespace> requiredNamespaces,
required Map<String, RequiredNamespace> optionalNamespaces,
required String pairingTopic,
Map<String, String>? sessionProperties,
Map<String, Namespace>? generatedNamespaces,
}) = _ProposalData;