boot method

  1. @override
FutureOr<void> boot()

register anything you want inside the service container boot your classes here the app won't unless all Launchers are done

Implementation

@override
FutureOr<void> boot() async {
  Locators.put<LangConfig>(config);
  final trNotifier = TransNotifier();
  Locators.put(trNotifier);
  return trNotifier.boot();
}