pass data from one class to another 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>()