Pubspec constructor

const Pubspec({
  1. String? name,
  2. String? description,
  3. String? version,
  4. String? homepage,
  5. String? repository,
  6. String? issueTracker,
  7. String? documentation,
  8. String? publishTo,
  9. Environment? environment,
  10. Dependencies? dependencies,
  11. Dependencies? devDependencies,
  12. Dependencies? dependenciesOverride,
  13. FlutterData? flutter,
  14. Map<String, dynamic>? others,
})

Implementation

const Pubspec({
  this.name,
  this.description,
  this.version,
  this.homepage,
  this.repository,
  this.issueTracker,
  this.documentation,
  this.publishTo,
  this.environment,
  this.dependencies,
  this.devDependencies,
  this.dependenciesOverride,
  this.flutter,
  this.others,
});