combineOperationFilters function Tracing

OperationFilter combineOperationFilters(
  1. List<OperationFilter> filters
)

Returns a new OperationFilter that combines the provided filters through an AND operation.

Implementation

OperationFilter combineOperationFilters(List<OperationFilter> filters) =>
    (operation) {
      for (final filter in filters) {
        if (!filter(operation)) {
          return false;
        }
      }
      return true;
    };