toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['campid'] = this.campId;
data['notificationId'] = this.notificationId;
data['id'] = this.id;
data['nid'] = this.nid;
data['icon'] = this.icon;
data['message'] = this.message;
data['title'] = this.title;
data['campType'] = this.campType;
data['messageStatus'] = this.messageStatus;
data['messageExpiryTime'] = this.messageExpiryTime;
data['messageLanguage'] = this.messageLanguage;
data['cData'] = this.cData;
if (this.cData != null) {
cData= this.cData;
}
return data;
}