DeploymentManager constructor

DeploymentManager({
  1. Map<BuildPlatform, DeploymentStrategy>? strategies,
  2. FastlaneRunner fastlaneRunner = const FastlaneRunner(),
  3. dynamic toolValidator,
  4. dynamic projectValidator,
})

Implementation

DeploymentManager({
  Map<BuildPlatform, DeploymentStrategy>? strategies,
  FastlaneRunner fastlaneRunner = const FastlaneRunner(),
  dynamic toolValidator,
  dynamic projectValidator,
})  : _toolValidator =
          toolValidator ?? FastlaneToolValidator(runner: fastlaneRunner),
      _projectValidator =
          projectValidator ?? const FastlaneProjectValidator(),
      _strategies = strategies ??
          {
            BuildPlatform.android:
                AndroidDeploymentStrategy(fastlaneRunner: fastlaneRunner),
            BuildPlatform.ios:
                IosDeploymentStrategy(fastlaneRunner: fastlaneRunner),
          };