synchronize method

Future<void> synchronize(
  1. GeneratorContext context
)

Synchronizes generated project files using the provided context.

Updates barrel exports, dependency injection configuration, and route registrations to reflect the generated feature artifacts.

Implementation

Future<void> synchronize(GeneratorContext context) async {
  await BarrelMaintainer().maintain(context);
  await const DiMaintainer().maintain(context);
  await const RouteMaintainer().maintain(context);
}