OnTriggerEventHandled class

Constructors

OnTriggerEventHandled({String eventId = '', bool succeeded = false, String error = ''})
OnTriggerEventHandled.fromJson(Map<String, dynamic> json)
factory
OnTriggerEventHandled.fromReader(TeleportObjectReader reader)
factory
OnTriggerEventHandled.fromTeleport(Uint8List data)
factory

Properties

error ↔ String
Empty when Succeeded. Refusals are prefixed "refused: " so a manifest/registry mismatch is distinguishable from a handler failure.
getter/setter pair
eventId ↔ String
The ActionTriggerEvent.EventId this reports on.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
succeeded ↔ bool
True: the handler returned, retire the event. False: it threw, or the app refused the delivery (function not registered, not Trigger, or declared for another event type); the event stays pending for redelivery.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toProtocolMessage(int senderId, {ProtocolMessageOverrides? overrides}) → ProtocolMessage
toString() → String
A string representation of this object.
inherited
toTeleport() → Uint8List
writeTo(TeleportObjectWriter scope) → void

Operators

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

Constants

fieldIdError → const int
fieldIdEventId → const int
fieldIdSucceeded → const int
teleportOpcode → const int
teleportVersion → const int