WoT class abstract interface

Interface for a WoT runtime.

See WoT Scripting API specification, section 5

Constructors

WoT()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

consume(ThingDescription thingDescription) Future<ConsumedThing>
Asynchronously creates a ConsumedThing from a thingDescription.
discover({ThingFilter? thingFilter}) ThingDiscovery
Discovers ThingDescriptions using the underlying platform configuration.
exploreDirectory(Uri url, {ThingFilter? filter, int? offset, int? limit, DirectoryPayloadFormat? format}) Future<ThingDiscoveryProcess>
Starts the discovery process that given a TD Directory url, will provide ThingDescription objects for Thing Descriptions that match an optional filter argument of type ThingFilter.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
produce(ExposedThingInit exposedThingInit) Future<ExposedThing>
Asynchronously produces an ExposedThing from an exposedThingInit.
requestThingDescription(Uri url) Future<ThingDescription>
Requests a ThingDescription from the given url.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited