upsertCounty method

  1. @override
void upsertCounty(
  1. String key,
  2. Map<String, dynamic> row
)
override

Adds a county row (or replaces an existing key entirely).

Implementation

@override
void upsertCounty(String key, Map<String, dynamic> row) {
  final plat = current;
  if (plat == null || key.trim().isEmpty) return;
  plat.counties[key] = row;
  configEdited('counties');
}