copyWith method
PairingStruct
copyWith({
- String? topic,
- int? expiry,
- RelayerProtocolOptions? relay,
- bool? active,
- AppMetadata? peerMetadata,
Implementation
PairingStruct copyWith({
String? topic,
int? expiry,
RelayerProtocolOptions? relay,
bool? active,
AppMetadata? peerMetadata,
}) {
return PairingStruct(
topic: topic ?? this.topic,
expiry: expiry ?? this.expiry,
relay: relay ?? this.relay,
active: active ?? this.active,
peerMetadata: peerMetadata ?? this.peerMetadata,
);
}