setupLocator function
void
setupLocator()
Implementation
void setupLocator() {
if (isInitialized) {
return;
}
getIt.registerLazySingleton<UserInfoProvider>(() => UserInfoProviderImpl());
getIt.registerLazySingleton<MessageProvider>(() => MessageProviderImpl());
getIt.registerLazySingleton<ContactProvider>(() => ContactProviderImpl());
getIt.registerLazySingleton<LoginService>(() => LoginServiceImpl());
getIt.registerLazySingleton<TeamProvider>(() => TeamProviderImpl());
isInitialized = true;
}