NotificationChannelDescriptor class

A description of a notification channel.

The descriptor includes the properties of the channel and the set of labels or fields that must be specified to configure channels of a given type.

Constructors

NotificationChannelDescriptor({String? description, String? displayName, List<LabelDescriptor>? labels, String? launchStage, String? name, List<String>? supportedTiers, String? type})
NotificationChannelDescriptor.fromJson(Map json_)

Properties

description String?
A human-readable description of the notification channel type.
getter/setter pair
displayName String?
A human-readable name for the notification channel type.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
labels List<LabelDescriptor>?
The set of labels that must be defined to identify a particular channel of the corresponding type.
getter/setter pair
launchStage String?
The product launch stage for channels of this type. Possible string values are:
getter/setter pair
name String?
The full REST resource name for this descriptor.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedTiers List<String>?
The tiers that support this notification channel; the project service tier must be one of the supported_tiers.
getter/setter pair
type String?
The type of notification channel, such as "email" and "sms".
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