MessageRoutingEvent class final
An inbound message matched a route (message.routing).
Route deliveries are signed with the route's secret, not a webhook's.
- Inheritance
-
- Object
- WebhookEvent
- MessageRoutingEvent
Constructors
- MessageRoutingEvent({required DateTime timestamp, required String routeId, required MessageRoutingEventData data, JsonMap raw = const {}})
-
Creates the event.
const
Properties
- data → MessageRoutingEventData
-
The inbound message of the event.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- raw → JsonMap
-
The JSON payload this event was decoded from.
finalinherited
- routeId → String
-
The ID of the route this message matched.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
When the event occurred.
finalinherited
- type → String
-
The event type, for example
message.delivered.finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → JsonMap -
Encodes this event as JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited