OfflinePushInfo.fromJson constructor
OfflinePushInfo.fromJson(
- Map json
Implementation
OfflinePushInfo.fromJson(Map json) {
json = Utils.formatJson(json);
title = json['title'];
desc = json['desc'];
ext = json['ext'];
disablePush = json['disablePush'] ?? false;
iOSSound = json['iOSSound'];
ignoreIOSBadge = json['ignoreIOSBadge'];
androidOPPOChannelID = (json['androidOPPOChannelID'] ?? "").toString();
androidSound = (json['androidSound'] ?? "").toString();
androidVIVOClassification = (json['androidVIVOClassification'] ?? 1);
androidFCMChannelID = json["androidFCMChannelID"] ?? "";
androidXiaoMiChannelID = json["androidXiaoMiChannelID"] ?? "";
iOSPushType = json["iOSPushType"] ?? 0;
androidHuaWeiCategory = json["androidHuaWeiCategory"] ?? "";
androidVIVOCategory = json["androidVIVOCategory"] ?? "";
}