toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['title'] = title;
data['desc'] = desc;
data['ext'] = ext;
data['disablePush'] = disablePush;
data['iOSSound'] = iOSSound;
data['ignoreIOSBadge'] = ignoreIOSBadge;
data['androidOPPOChannelID'] = androidOPPOChannelID;
data['androidSound'] = androidSound;
data['androidVIVOClassification'] = androidVIVOClassification;
data['androidFCMChannelID'] = androidFCMChannelID;
data['androidXiaoMiChannelID'] = androidXiaoMiChannelID;
data['iOSPushType'] = iOSPushType;
data['androidHuaWeiCategory'] = androidHuaWeiCategory;
return data;
}