editionDefaults function
Returns the default feature map for an edition/syntax string (no overrides). Retained for callers that only need the edition base.
Implementation
Map<String, String> editionDefaults(String edition) {
final ed = editionFromString(edition);
if (ed == editionUnknown) {
throw ArgumentError('Unrecognized protobuf edition: "$edition"');
}
return baseFeaturesForEdition(ed);
}