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