NotificationChannel class

A NotificationChannel is a medium through which an alert is delivered when a policy violation is detected.

Examples of channels include email, SMS, and third-party messaging applications. Fields containing sensitive information like authentication tokens or contact info are only partially populated on retrieval.

Constructors

NotificationChannel({MutationRecord? creationRecord, String? description, String? displayName, bool? enabled, Map<String, String>? labels, List<MutationRecord>? mutationRecords, String? name, String? type, Map<String, String>? userLabels, String? verificationStatus})
NotificationChannel.fromJson(Map json_)

Properties

creationRecord MutationRecord?
Record of the creation of this channel.
getter/setter pair
description String?
An optional human-readable description of this notification channel.
getter/setter pair
displayName String?
An optional human-readable name for this notification channel.
getter/setter pair
enabled bool?
Whether notifications are forwarded to the described channel.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
labels Map<String, String>?
Configuration fields that define the channel and its behavior.
getter/setter pair
mutationRecords List<MutationRecord>?
Records of the modification of this channel.
getter/setter pair
name String?
The full REST resource name for this channel.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
The type of the notification channel.
getter/setter pair
userLabels Map<String, String>?
User-supplied key/value data that does not need to conform to the corresponding NotificationChannelDescriptor's schema, unlike the labels field.
getter/setter pair
verificationStatus String?
Indicates whether this channel has been verified or not.
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