copyWith method
TonTransaction
copyWith({
- String? id,
- int? gramAmount,
- bool? isRefund,
- int? date,
- TonTransactionType? type,
Implementation
TonTransaction copyWith({
String? id,
int? gramAmount,
bool? isRefund,
int? date,
TonTransactionType? type,
}) => TonTransaction(
id: id ?? this.id,
gramAmount: gramAmount ?? this.gramAmount,
isRefund: isRefund ?? this.isRefund,
date: date ?? this.date,
type: type ?? this.type,
);