PublishDistributor constructor

PublishDistributor({
  1. required PublishDistributorType distributorType,
  2. required PlatformBuild platformBuild,
  3. required FlutterPublish flutterPublish,
})

Implementation

PublishDistributor({
  required this.distributorType,
  required this.platformBuild,
  required this.flutterPublish,
}) {
  // Must be a release for publishing
  platformBuild.flutterBuild.buildArgs.add('--release');
}