checkUnits method

void checkUnits()

Implementation

void checkUnits() {
  for (final DefinedUnit unit in model.definedUnits) {
    if (!(unit.isSpecial ?? false)) {
      checkUnitCode(unit.value.unit ?? '', false);
    } else if (!handlers.exists(unit.code)) {
      result.add('No Handler for ${unit.code}');
    }
  }
}