copyWith method
PhantomData
copyWith({
- String? address,
- String? chainId,
- ConnectionMetadata? self,
- ConnectionMetadata? peer,
Implementation
PhantomData copyWith({
String? address,
String? chainId,
ConnectionMetadata? self,
ConnectionMetadata? peer,
}) {
return PhantomData(
address: address ?? this.address,
chainId: chainId ?? this.chainId,
self: self ?? this.self,
peer: peer ?? this.peer,
);
}