copyWith method
Wallet
copyWith({
- String? walletId,
- WalletBalance? balance,
- WalletNumbers? numbers,
- String? recipientId,
Implementation
Wallet copyWith(
{String? walletId,
WalletBalance? balance,
WalletNumbers? numbers,
String? recipientId}) {
return Wallet(
walletId: walletId ?? this.walletId,
balance: balance ?? this.balance,
numbers: numbers ?? this.numbers,
recipientId: recipientId ?? this.recipientId);
}