isOverridden method

bool isOverridden(
  1. String field,
  2. String? countyKey
)

Whether countyKey overrides the selector of field.

Implementation

bool isOverridden(String field, String? countyKey) {
  if (countyKey == null) return false;
  final ov = selectorOverrides[countyKey];
  return ov is Map && ov.containsKey(field);
}