BaiduChannelResponse class

Provides information about the status and settings of the Baidu (Baidu Cloud Push) channel for an application.

Constructors

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

Properties

applicationId String?
The unique identifier for the application that the Baidu channel applies to.
final
creationDate String?
The date and time when the Baidu channel was enabled.
final
credential String
The API key that you received from the Baidu Cloud Push service to communicate with the service.
final
enabled bool?
Specifies whether the Baidu 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 Baidu channel. This property is retained only for backward compatibility.
final
isArchived bool?
Specifies whether the Baidu channel is archived.
final
lastModifiedBy String?
The user who last modified the Baidu channel.
final
lastModifiedDate String?
The date and time when the Baidu channel was last modified.
final
platform String
The type of messaging or notification platform for the channel. For the Baidu channel, this value is BAIDU.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int?
The current version of the Baidu 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