GCMChannelResponse class

Provides information about the status and settings of the GCM channel for an application. The GCM channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.

Constructors

GCMChannelResponse({required String credential, required String platform, String? applicationId, String? creationDate, bool? enabled, bool? hasCredential, String? id, bool? isArchived, String? lastModifiedBy, String? lastModifiedDate, int? version})
GCMChannelResponse.fromJson(Map<String, dynamic> json)
factory

Properties

applicationId String?
The unique identifier for the application that the GCM channel applies to.
final
creationDate String?
The date and time when the GCM channel was enabled.
final
credential String
The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.
final
enabled bool?
Specifies whether the GCM channel is enabled for the application.
final
hasCredential bool?
(Not used) This property is retained only for backward compatibility.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
(Deprecated) An identifier for the GCM channel. This property is retained only for backward compatibility.
final
isArchived bool?
Specifies whether the GCM channel is archived.
final
lastModifiedBy String?
The user who last modified the GCM channel.
final
lastModifiedDate String?
The date and time when the GCM channel was last modified.
final
platform String
The type of messaging or notification platform for the channel. For the GCM channel, this value is GCM.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int?
The current version of the GCM channel.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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