removeCounty method

  1. @override
void removeCounty(
  1. String key
)
override

Removes a county row; clears scope if that county was selected.

Implementation

@override
void removeCounty(String key) {
  final plat = current;
  if (plat == null) return;
  plat.counties.remove(key);
  if (scope == key) scope = null;
  configEdited('counties');
}