copyWith method

WalletState copyWith({
  1. String? address,
  2. bool? isConnected,
  3. String? chainId,
})

Implementation

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