components/flutterstart_recipes/src/blueprint_migration library
Constants
-
migratedMinimalSingleSelections
→ const Map<
String, String> -
migratedRecommendedMultiSelections
→ const Map<
String, List< String> > -
migratedRecommendedSingleSelections
→ const Map<
String, String> - The pre-0.3 Recommended selection set after relocation. Migration owns this data so new preset defaults can never leak into old configurations.
Functions
-
migrateOrParseBlueprint(
Map< String, dynamic> json, {required RecipeLock lock}) → Blueprint - Resolves external Blueprint/config input by schema version — the read-time migration rule (R-202, FR-048-FR-050), not a workflow:
-
relocateV2SingleSelections(
Map< String, String> selections) → Map<String, String>
Exceptions / Errors
- BlueprintMigrationException
-
Thrown when external Blueprint/config input cannot be resolved: an
unknown/future
schema_version, or aschema_version: 1input naming an unrecognized recipe/token set. Never silently substituted with a default (FR-045, FR-049, INV-MIG1) — callers map this to exit 4.