hasSelection static method

bool hasSelection(
  1. List<String> arguments
)

Whether any user selection can change the historical duration cache.

Implementation

static bool hasSelection(List<String> arguments) {
  const options = {
    '--id',
    '--feature',
    '--profile',
    '--tag',
    '--path',
    '--device',
  };
  return options.any((option) => valueSet(arguments, option).isNotEmpty);
}