Channel class

An notification channel used to watch for resource changes.

Constructors

Channel()
Channel.fromJson(Map _json)

Properties

address String
The address where notifications are delivered for this channel.
read / write
expiration String
Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
A UUID or similar unique string that identifies this channel.
read / write
kind String
Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel".
read / write
params Map<String, String>
Additional parameters controlling delivery channel behavior. Optional.
read / write
payload bool
A Boolean value to indicate whether payload is wanted. Optional.
read / write
resourceId String
An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
read / write
resourceUri String
A version-specific identifier for the watched resource.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
token String
An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
read / write
type String
The type of delivery mechanism used for this channel.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited