copyWith method
TonWalletTransaction
copyWith({
- String? id,
- String? peerAddress,
- int? peerUserId,
- String? peerDomain,
- int? date,
- int? feeAmount,
- bool? isSuspectedSpam,
- TonWalletTransactionState? state,
- TonWalletTransactionType? type,
Implementation
TonWalletTransaction copyWith({
String? id,
String? peerAddress,
int? peerUserId,
String? peerDomain,
int? date,
int? feeAmount,
bool? isSuspectedSpam,
TonWalletTransactionState? state,
TonWalletTransactionType? type,
}) =>
TonWalletTransaction(
id: id ?? this.id,
peerAddress: peerAddress ?? this.peerAddress,
peerUserId: peerUserId ?? this.peerUserId,
peerDomain: peerDomain ?? this.peerDomain,
date: date ?? this.date,
feeAmount: feeAmount ?? this.feeAmount,
isSuspectedSpam: isSuspectedSpam ?? this.isSuspectedSpam,
state: state ?? this.state,
type: type ?? this.type,
);