copyWith method
Implementation
Wallet copyWith({
String? name,
int? order,
HiveList<PublicAccount>? accounts,
}) {
return Wallet(
walletId: walletId,
name: name ?? this.name,
order: order ?? this.order,
accounts: accounts ?? this.accounts,
accountType: accountType,
);
}