Created
October 21, 2022 21:09
-
-
Save yarn-rp/2cedd58308c838d84c12a9cea8d514db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GENERATED CODE - DO NOT MODIFY BY HAND | |
// ************************************************************************** | |
// InjectableConfigGenerator | |
// ************************************************************************** | |
// ignore_for_file: no_leading_underscores_for_library_prefixes | |
import 'package:app_version_config_repository/app_version_config_repository.dart' | |
as _i7; | |
import 'package:flutter_boilerplate/domain/app_versioning/service_contracts/app_versioning_service_contract.dart' | |
as _i3; | |
import 'package:flutter_boilerplate/domain/app_versioning/service_logics/app_versioning_service_logic.dart' | |
as _i4; | |
import 'package:get_it/get_it.dart' as _i1; | |
import 'package:injectable/injectable.dart' as _i2; | |
import 'package:new_version/new_version.dart' as _i6; | |
import 'package:package_info_plus/package_info_plus.dart' | |
as _i5; // ignore_for_file: unnecessary_lambdas | |
// ignore_for_file: lines_longer_than_80_chars | |
/// initializes the registration of provided dependencies inside of [GetIt] | |
_i1.GetIt $initGetIt( | |
_i1.GetIt get, { | |
String? environment, | |
_i2.EnvironmentFilter? environmentFilter, | |
}) { | |
final gh = _i2.GetItHelper( | |
get, | |
environment, | |
environmentFilter, | |
); | |
gh.singleton<_i3.AppVersioningServiceContract>(_i4.AppVersioningServiceLogic( | |
packageInfo: get<_i5.PackageInfo>(), | |
newVersion: get<_i6.NewVersion>(), | |
appVersionConfigRepository: get<_i7.AppVersionConfigRepository>(), | |
)); | |
return get; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment