copyWith method
GetTonWalletTransactions
copyWith({
- TransactionDirection? direction()?,
- String? offset,
- int? limit,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
GetTonWalletTransactions copyWith({
TransactionDirection? Function()? direction,
String? offset,
int? limit,
}) => GetTonWalletTransactions(
direction: direction != null ? direction() : this.direction,
offset: offset ?? this.offset,
limit: limit ?? this.limit,
);