toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['projectId'] = this.projectId;
  data['apiKey'] = this.apiKey;
  data['env'] = this.env;
  data['campaignId'] = this.campaignId;
  data['customerId'] = this.customerId;
  data['channelType'] = this.channelType;
  data['campaignType'] = this.campaignType;
  data['messageId'] = this.messageId;
  data['ignoreTracking'] = this.ignoreTracking;
  return data;
}