$initGetIt function
GetIt
$initGetIt(
- GetIt getIt, {
- String? environment,
- EnvironmentFilter? environmentFilter,
})
Implementation
_i174.GetIt $initGetIt(
_i174.GetIt getIt, {
String? environment,
_i526.EnvironmentFilter? environmentFilter,
}) {
final gh = _i526.GetItHelper(getIt, environment, environmentFilter);
gh.singleton<_i65.ChatRepository>(
() => _i65.ChatRepository(baseUrl: gh<String>(instanceName: 'baseUrl')),
);
gh.singleton<_i441.FooterVisibilityService>(
() => _i441.FooterVisibilityService(repository: gh<_i65.ChatRepository>()),
);
gh.singleton<_i799.HealthCheckService>(
() => _i799.HealthCheckService(repository: gh<_i65.ChatRepository>()),
);
gh.singleton<_i979.ChatViewModel>(
() => _i979.ChatViewModel(repository: gh<_i65.ChatRepository>()),
);
gh.singleton<_i496.StatusViewModel>(
() => _i496.StatusViewModel(healthService: gh<_i799.HealthCheckService>()),
);
gh.singleton<_i974.FooterVisibilityViewModel>(
() => _i974.FooterVisibilityViewModel(
service: gh<_i441.FooterVisibilityService>(),
),
);
return getIt;
}