NIMMixPushConfig class Null safety

Message push settings

Annotations
  • @JsonSerializable()

Constructors

NIMMixPushConfig({String? xmAppId, String? xmAppKey, String? xmCertificateName, String? hwAppId, String? hwCertificateName, String? mzAppId, String? mzAppKey, String? mzCertificateName, String? fcmCertificateName, String? vivoCertificateName, String? oppoAppId, String? oppoAppKey, String? oppoAppSecret, String? oppoCertificateName, bool autoSelectPushType = false})
NIMMixPushConfig.fromMap(Map<String, dynamic> json)
factory

Properties

autoSelectPushType bool
Whether to automatically select the push type based on the token
@JsonKey(name: 'KEY_AUTO_SELECT_PUSH_TYPE'), final
fcmCertificateName String?
FCM push certificate. Request in the CommsEase console. Used by overseas customers
@JsonKey(name: 'KEY_FCM_CERTIFICATE_NAME'), final
hashCode int
The hash code for this object.
read-only, inherited
hwAppId String?
Huawei push hwAppId
@JsonKey(name: 'KEY_HW_APP_ID'), final
hwCertificateName String?
Huawei push certificate. Request in the CommsEase console.
@JsonKey(name: 'KEY_HW_CERTIFICATE_NAME'), final
mzAppId String?
Meizu push appId
@JsonKey(name: 'KEY_MZ_APP_ID'), final
mzAppKey String?
Meizu push appKey
@JsonKey(name: 'KEY_MZ_APP_KEY'), final
mzCertificateName String?
Meizu push certificate. Request in the CommsEase console.
@JsonKey(name: 'KEY_MZ_CERTIFICATE_NAME'), final
oppoAppId String?
OPPO push appId
@JsonKey(name: 'KEY_OPPO_APP_ID'), final
oppoAppKey String?
OPPO push appKey
@JsonKey(name: 'KEY_OPPO_APP_KEY'), final
oppoAppSecret String?
OPPO push AppSecret
@JsonKey(name: 'KEY_OPPO_APP_SERCET'), final
oppoCertificateName String?
OPPO push certificate. Request in the CommsEase console.
@JsonKey(name: 'KEY_OPPO_CERTIFICATE_NAME'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
vivoCertificateName String?
VIVO push appId snf apiKey configuref in the AndroidManifest.xml file. VIVO push certificate. Request in the CommsEase console.
@JsonKey(name: 'KEY_VIVO_CERTIFICATE_NAME'), final
xmAppId String?
Xiaomi push appId
@JsonKey(name: 'KEY_XM_APP_ID'), final
xmAppKey String?
Xiaomi push appKey
@JsonKey(name: 'KEY_XM_APP_KEY'), final
xmCertificateName String?
Xiaomi push certificate. Request in the CommsEase console.
@JsonKey(name: 'KEY_XM_CERTIFICATE_NAME'), final

Methods

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

Operators

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