setupLocator function
void
setupLocator()
Implementation
void setupLocator() {
// Registering QuashRepo as a singleton
locator.registerLazySingleton<QuashRepo>(() => QuashRepoImpl());
// Registering QuashModule as a singleton
locator.registerSingleton(QuashModule());
// Registering NetworkAPI with a parameter for baseUrl
locator.registerFactory(() => NetworkAPI(QuashConstants.baseUrl));
}