copyWith method

WalletEntity copyWith({
  1. WalletProvider? walletProvider,
  2. String? publicAddress,
})

Implementation

WalletEntity copyWith({
  WalletProvider? walletProvider,
  String? publicAddress,
}) {
  return WalletEntity(
    walletProvider: walletProvider ?? this.walletProvider,
    publicAddress: publicAddress ?? this.publicAddress,
  );
}