getIt top-level property
final
The global GetIt service locator instance used throughout the app.
Prefer injecting dependencies via constructors rather than calling getIt directly in business logic. Direct access is acceptable in DI setup code and top-level callbacks (for example, the Fresh token refresh closure).
Implementation
final GetIt getIt = GetIt.instance;