setupLocator function
Future<void>
setupLocator(
{ - String? environment,
- EnvironmentFilter? environmentFilter,
})
Implementation
Future<void> setupLocator({
String? environment,
EnvironmentFilter? environmentFilter,
}) async {
// Register environments
locator.registerEnvironment(
environment: environment, environmentFilter: environmentFilter);
// Register dependencies
locator.registerLazySingleton(() => BottomSheetService());
locator.registerLazySingleton(() => DialogService());
locator.registerLazySingleton(() => NavigationService());
locator.registerLazySingleton(() => TimerService());
}