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.

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.
read / write
displayName String?
A human-readable name for the notification channel type.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
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.
read-onlyinherited
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

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