isCategoryEnabled method

bool isCategoryEnabled(
  1. MemoryCategory category
)

Whether category is enabled.

Implementation

bool isCategoryEnabled(MemoryCategory category) =>
    categories.isEmpty || categories.contains(category);