ActionTriggerEvent class
Constructors
- ActionTriggerEvent({String eventId = '', String eventType = '', String functionName = '', int sequenceNumber = 0, String payloadJson = '', String firedAtUtc = ''})
-
ActionTriggerEvent.fromJson(Map<
String, dynamic> json) -
factory
- ActionTriggerEvent.fromReader(TeleportObjectReader reader)
-
factory
- ActionTriggerEvent.fromTeleport(Uint8List data)
-
factory
Properties
- eventId ↔ String
-
Backend pending-event document id; echoed in OnTriggerEventHandled so exactly this delivery is retired.
getter/setter pair
- eventType ↔ String
-
A TriggerEventType value ("ikon.email.received"). String on the wire; the app refuses a delivery
whose type differs from the resolved method's
Triggerdeclaration.getter/setter pair - firedAtUtc ↔ String
-
ISO-8601 UTC, as ActionTriggerCron.FireTimeUtc.
getter/setter pair
- functionName ↔ String
-
Function-registry name from the bundle's TriggerDescriptor.Name.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- payloadJson ↔ String
-
JSON object; the app exposes it through TriggerContext.GetPayload
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequenceNumber ↔ int
-
Monotonic per (space, event type).
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
- fieldIdEventId → const int
- fieldIdEventType → const int
- fieldIdFiredAtUtc → const int
- fieldIdFunctionName → const int
- fieldIdPayloadJson → const int
- fieldIdSequenceNumber → const int
- teleportOpcode → const int
- teleportVersion → const int