CloudEvent<T extends JSObject>
extension type
A CloudEventBase
is the base of a cross-platform format for encoding a serverless event.
For more information, see https://github.com/cloudevents/spec.
@typeParam T - The type of the event data.
@beta
- on
- Implemented types
- Implementers
- Available extensions
Properties
- data → T
-
Information about this specific event.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
A globally unique ID for this event.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
The resource that published this event.
no setter
- specversion → String
-
Version of the CloudEvents spec for this event.
no setter
- subject → String?
-
The resource, provided by source, that this event relates to.
no setter
- time → String
-
When this event occurred.
no setter
- type → String
-
The type of event that this represents.
no setter
Methods
-
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