EntityMigration typedef

EntityMigration = void Function(Map<String, dynamic> entity, Map<String, dynamic> scene)

Rewrites one entity in place. scene is the whole file, for a migration that has to look at — or add — other entities.

Implementation

typedef EntityMigration =
    void Function(Map<String, dynamic> entity, Map<String, dynamic> scene);