DpkConfig constructor

const DpkConfig({
  1. required VersionConstraint version,
  2. DpkMode mode = DpkMode.global,
  3. bool sortPubspec = false,
  4. List<String>? workspace,
  5. String? cacheDir,
  6. String patchDir = 'patches',
  7. Catalog? catalog,
  8. Map<String, Script> scripts = const {},
  9. List<ConfigWarning> warnings = const [],
})

Implementation

const DpkConfig({
  required this.version,
  this.mode = DpkMode.global,
  this.sortPubspec = false,
  this.workspace,
  this.cacheDir,
  this.patchDir = 'patches',
  this.catalog,
  this.scripts = const {},
  this.warnings = const [],
});