ThingDescription constructor

const ThingDescription({
  1. required Context context,
  2. required String title,
  3. required List<String> security,
  4. required Map<String, SecurityScheme> securityDefinitions,
  5. Map<String, String>? titles,
  6. List<String>? atType,
  7. String? id,
  8. Map<String, String>? descriptions,
  9. DateTime? created,
  10. DateTime? modified,
  11. Uri? support,
  12. Uri? base,
  13. Map<String, Property>? properties,
  14. Map<String, Action>? actions,
  15. Map<String, Event>? events,
  16. List<Link>? links,
  17. List<Form>? forms,
  18. List<Uri>? profile,
  19. Map<String, DataSchema>? schemaDefinitions,
  20. Map<String, dynamic>? additionalFields,
  21. String? description,
  22. VersionInfo? version,
  23. Map<String, DataSchema>? uriVariables,
})

Creates a new Thing Description object.

Implementation

const ThingDescription({
  required this.context,
  required this.title,
  required this.security,
  required this.securityDefinitions,
  this.titles,
  this.atType,
  this.id,
  this.descriptions,
  this.created,
  this.modified,
  this.support,
  this.base,
  this.properties,
  this.actions,
  this.events,
  this.links,
  this.forms,
  this.profile,
  this.schemaDefinitions,
  this.additionalFields,
  this.description,
  this.version,
  this.uriVariables,
});