isEnabledFor method

bool isEnabledFor(
  1. T item
)

Implementation

bool isEnabledFor(T item) => enabledFor?.call(item) ?? true;