PubSpec constructor
PubSpec({
- String? name,
- String? author,
- Version? version,
- String? homepage,
- String? documentation,
- String? description,
- Uri? publishTo,
- Environment? environment,
- Map<
String, DependencyReference> dependencies = const {}, - Map<
String, DependencyReference> devDependencies = const {}, - Map<
String, DependencyReference> dependencyOverrides = const {}, - Map<
String, Executable> executables = const {}, - Map? unParsedYaml = const {},
Implementation
PubSpec(
{this.name,
this.author,
this.version,
this.homepage,
this.documentation,
this.description,
this.publishTo,
this.environment,
this.dependencies: const {},
this.devDependencies: const {},
this.dependencyOverrides: const {},
this.executables: const {},
this.unParsedYaml: const {}});