isSupportedSchemaVersion function
V6-Logik wie im Core: „major.minor“ mit unterstütztem Major ⇒ kompatibel (Minor-Erweiterungen sind rückwärtskompatibel zu pflegen, SPEC §6).
Implementation
bool isSupportedSchemaVersion(String version) {
final match = RegExp(r'^(\d+)\.(\d+)$').firstMatch(version);
return match != null && int.parse(match.group(1)!) == supportedSchemaMajor;
}