copyWith method
GetStarTransactions
copyWith({
- MessageSender? ownerId,
- String? subscriptionId,
- 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
GetStarTransactions copyWith({
MessageSender? ownerId,
String? subscriptionId,
TransactionDirection? Function()? direction,
String? offset,
int? limit,
}) => GetStarTransactions(
ownerId: ownerId ?? this.ownerId,
subscriptionId: subscriptionId ?? this.subscriptionId,
direction: direction != null ? direction() : this.direction,
offset: offset ?? this.offset,
limit: limit ?? this.limit,
);