APIInfo constructor Null safety

APIInfo(
  1. String? title,
  2. String? version,
  3. {String? description,
  4. Uri? termsOfServiceURL,
  5. APILicense? license,
  6. APIContact? contact}
)

Creates empty metadata for specification.

Implementation

APIInfo(
  this.title,
  this.version, {
  this.description,
  this.termsOfServiceURL,
  this.license,
  this.contact,
});