copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
PublicPostSearchLimits copyWith({
int? dailyFreeQueryCount,
int? remainingFreeQueryCount,
int? nextFreeQueryIn,
int? starCount,
bool? isCurrentQueryFree,
dynamic extra,
int? clientId,
}) => PublicPostSearchLimits(
dailyFreeQueryCount: dailyFreeQueryCount ?? this.dailyFreeQueryCount,
remainingFreeQueryCount:
remainingFreeQueryCount ?? this.remainingFreeQueryCount,
nextFreeQueryIn: nextFreeQueryIn ?? this.nextFreeQueryIn,
starCount: starCount ?? this.starCount,
isCurrentQueryFree: isCurrentQueryFree ?? this.isCurrentQueryFree,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);