toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
if (this.title != null) data['title'] = this.title;
if (this.desc != null) data['desc'] = this.desc;
if (this.ext != null) data['ext'] = this.ext;
if (this.iOSSound != null) data['iOSSound'] = this.iOSSound;
if (this.ignoreIOSBadge != null)
data['ignoreIOSBadge'] = this.ignoreIOSBadge;
if (this.androidOPPOChannelID != null)
data['androidOPPOChannelID'] = this.androidOPPOChannelID;
return data;
}