effectiveBool method

bool effectiveBool(
  1. String key,
  2. bool fallback
)
inherited

Reads a bool config value, preferring per-file config over constructor default.

Implementation

bool effectiveBool(String key, bool fallback) {
  final v = _ruleConfig[key];
  return v is bool ? v : fallback;
}