GetIt getIt = GetIt.instance;
void setUp() {
getIt.registerLazySingleton<Service>(() => Service());
getIt.registerSingleton<HomeManager>(HomeManager());
}
Created
March 13, 2021 09:07
-
-
Save Sameerkash/a997ed26bb89abaa7a7a3f64e6394d1b to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment