applyScopes method
QueryBuilderInterface<T>
applyScopes(
- List<
QueryBuilderInterface< scopeFunctionsT> Function(QueryBuilderInterface<T> )>
Apply multiple scope functions in sequence
Implementation
QueryBuilderInterface<T> applyScopes(
List<QueryBuilderInterface<T> Function(QueryBuilderInterface<T>)>
scopeFunctions,
) {
var currentQuery = query;
for (final scopeFunction in scopeFunctions) {
currentQuery = scopeFunction(currentQuery);
}
return currentQuery;
}