copyWith method
Implementation
WalletState copyWith({
String? address,
bool? isConnected,
String? chainId,
}) {
return WalletState(
address: address ?? this.address,
isConnected: isConnected ?? this.isConnected,
chainId: chainId ?? this.chainId,
);
}