InfoObject constructor

const InfoObject({
  1. required String title,
  2. required String version,
  3. String? description,
  4. String? termsOfService,
  5. ContactObject? contact,
  6. LicenseObject? license,
})

Creates an InfoObject with the given parameters.

Implementation

const InfoObject({
  required this.title,
  required this.version,
  this.description,
  this.termsOfService,
  this.contact,
  this.license,
});