copyWith method

GetTonTransactions copyWith({
  1. TransactionDirection? direction()?,
  2. String? offset,
  3. 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

GetTonTransactions copyWith({
  TransactionDirection? Function()? direction,
  String? offset,
  int? limit,
}) => GetTonTransactions(
  direction: direction != null ? direction() : this.direction,
  offset: offset ?? this.offset,
  limit: limit ?? this.limit,
);