ThingDescription constructor
const
ThingDescription({
- required Context context,
- required String title,
- required List<
String> security, - required Map<
String, SecurityScheme> securityDefinitions, - Map<
String, String> ? titles, - List<
String> ? atType, - String? id,
- Map<
String, String> ? descriptions, - DateTime? created,
- DateTime? modified,
- Uri? support,
- Uri? base,
- Map<
String, Property> ? properties, - Map<
String, Action> ? actions, - Map<
String, Event> ? events, - List<
Link> ? links, - List<
Form> ? forms, - List<
Uri> ? profile, - Map<
String, DataSchema> ? schemaDefinitions, - Map<
String, dynamic> ? additionalFields, - String? description,
- VersionInfo? version,
- 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,
});