Notification class

A subscription to receive Google PubSub notifications.

Constructors

Notification({Map<String, String>? customAttributes, String? etag, List<String>? eventTypes, String? id, String? kind, String? objectNamePrefix, String? payloadFormat, String? selfLink, String? topic})
Notification.fromJson(Map _json)

Properties

customAttributes Map<String, String>?
An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
getter/setter pair
etag String?
HTTP 1.1 Entity tag for this subscription notification.
getter/setter pair
eventTypes List<String>?
If present, only send notifications about listed event types.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The ID of the notification.
getter/setter pair
kind String?
The kind of item this is.
getter/setter pair
objectNamePrefix String?
If present, only apply this notification configuration to object names that begin with this prefix.
getter/setter pair
payloadFormat String?
The desired content of the Payload.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
The canonical URL of this notification.
getter/setter pair
topic String?
The Cloud PubSub topic to which this subscription publishes.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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