ReleaseContext constructor

const ReleaseContext({
  1. required String projectPath,
  2. required ReleaseType type,
  3. bool dryRun = false,
  4. bool isCi = false,
  5. bool allowDirty = false,
  6. VersionBumpMode versionBumpMode = VersionBumpMode.none,
  7. String? targetPlatform,
  8. String? versionName,
  9. int? buildNumber,
  10. ReleaseConfig config = const ReleaseConfig(),
  11. Map<String, String> environment = const {},
})

Implementation

const ReleaseContext({
  required this.projectPath,
  required this.type,
  this.dryRun = false,
  this.isCi = false,
  this.allowDirty = false,
  this.versionBumpMode = VersionBumpMode.none,
  this.targetPlatform,
  this.versionName,
  this.buildNumber,
  this.config = const ReleaseConfig(),
  this.environment = const {},
});