NotificationChannelDescriptor class Null safety

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.


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


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


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


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