effectiveInt method

int effectiveInt(
  1. String key,
  2. int fallback
)
inherited

Reads an int config value, preferring per-file config over constructor default.

Implementation

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