$Channel class Null safety

Used by:

  • calendar:v3 : Channel
  • drive:v2 : Channel
  • drive:v3 : Channel

Constructors

$Channel({String? address, String? expiration, String? id, String? kind, Map<String, String>? params, bool? payload, String? resourceId, String? resourceUri, String? token, String? type})
$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. [...]
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. [...]
read / write
payload bool?
A Boolean value to indicate whether payload is wanted. [...]
read / write
resourceId String?
An opaque ID that identifies the resource being watched on this channel. [...]
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. [...]
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, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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