Trustee class

Trustee represents the LWM2M Server object

Definition: an individual person or member of a board given control or powers of administration of property in trust with a legal obligation to administer it solely for the purposes specified.

The reason for renaming it, is due to the fact that in LWM2M a device is managed by the server, in comparison, a Trustee can insert data in the name of the user or execute a program or even configure something on the user's device provided that he receives authorization for those particular scopes

Inheritance

Constructors

Trustee({required IID iid, required Host host})

Properties

attributes Map<String, dynamic>
finalinherited
hashCode int
The hash code for this object.
no setterinherited
iid OID
no setterinherited
oid OID
Can only be retrieved, not set after SmartObject creation
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addResource(ResourceLink link, Resource resource) → void
SmartObjectCreator needs to create the resource based on the SpecificResrcChar configuration from SmartObjectRegistry and assign the link depending whether it is a single or multiple instance resource
inherited
get(RID rid) Value
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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