SelfControl class

A self-controlled handle's initial trigger allowlist. The device names the parties it allows to wake it — typically its own mediator, the only party that knows when mail is queued for it and it is offline.

Constructors

SelfControl({required List<String> allowedTriggers})
const
SelfControl.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

allowedTriggers → List<String>
DIDs permitted to trigger a wake for this handle. Empty: nobody, until the device provisions a list (push/provision). The device MUST NOT name itself.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

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