get value from other class flutter code example
Example: pass data from one provider model to anothe
GetIt locator = GetIt();locator.registerLazySingleton(() => Api());locator.registerLazySingleton(() => AuthenticationService());locator.registerLazySingleton(() => LoginModel());// Usagevar api = locator<Api>()