AtomCategory class abstract

Implementers

Constructors

AtomCategory()

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
Atom key — the namespace under host.*. Stable identifier the manifest uses in requires.builtinAtoms.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verbs List<AtomVerb>
Verbs exposed to JS. The bridge installs one JS function per verb on host.<key>. Empty list = no methods (the atom registers but JS calls always fail).
no setter

Methods

dispatch(String verb, List<Object?> args) Future<Object?>
Dispatch a verb invocation. Returns any JSON-serialisable value (or a Future thereof) — the bridge JSON-encodes and hands back to the JS Promise. Throw to reject the promise.
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