ProposalData constructor

  1. @JsonSerializable(includeIfNull: false)
const ProposalData({
  1. required int id,
  2. required int expiry,
  3. required List<Relay> relays,
  4. required ConnectionMetadata proposer,
  5. required Map<String, RequiredNamespace> requiredNamespaces,
  6. required Map<String, RequiredNamespace> optionalNamespaces,
  7. required String pairingTopic,
  8. Map<String, String>? sessionProperties,
  9. 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;