copyWith method
Query
copyWith({
- QueryAction? action,
- List<
ProviderQuery< ? forProviders,Provider< >Model> > - int? limit,
- List<
LimitBy> ? limitBy, - int? offset,
- List<
OrderBy> ? orderBy, - List<
WhereCondition> ? where,
Reconstruct the Query with passed overrides
Implementation
Query copyWith({
QueryAction? action,
List<ProviderQuery>? forProviders,
int? limit,
List<LimitBy>? limitBy,
int? offset,
List<OrderBy>? orderBy,
List<WhereCondition>? where,
}) =>
Query(
action: action ?? this.action,
forProviders: forProviders ?? this.forProviders,
limit: limit ?? this.limit,
limitBy: limitBy ?? this.limitBy,
offset: offset ?? this.offset,
orderBy: orderBy ?? this.orderBy,
where: where ?? this.where,
);