Config constructor

const Config({
  1. required String? buildArgs,
  2. required String id,
  3. required String pubspecName,
  4. required String name,
  5. required String description,
  6. required String version,
  7. required String publisher,
  8. required String url,
  9. required String supportUrl,
  10. required String updatesUrl,
  11. required String installerIcon,
  12. required List<Language> languages,
  13. required AdminMode admin,
  14. required String licenseFile,
  15. required SignTool? signTool,
  16. required BuildArch arch,
  17. BuildType type = BuildType.debug,
  18. bool app = true,
  19. bool installer = true,
})

Creates a Config instance with default values.

Implementation

const Config({
  required this.buildArgs,
  required this.id,
  required this.pubspecName,
  required this.name,
  required this.description,
  required this.version,
  required this.publisher,
  required this.url,
  required this.supportUrl,
  required this.updatesUrl,
  required this.installerIcon,
  required this.languages,
  required this.admin,
  required this.licenseFile,
  required this.signTool,
  required this.arch,
  this.type = BuildType.debug,
  this.app = true,
  this.installer = true,
});