toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.clicks != null) {
    json[r'clicks'] = this.clicks;
  } else {
    json[r'clicks'] = null;
  }
  if (this.code != null) {
    json[r'code'] = this.code;
  } else {
    json[r'code'] = null;
  }
  if (this.conversions != null) {
    json[r'conversions'] = this.conversions;
  } else {
    json[r'conversions'] = null;
  }
  if (this.createdAt != null) {
    json[r'createdAt'] = this.createdAt;
  } else {
    json[r'createdAt'] = null;
  }
  if (this.label != null) {
    json[r'label'] = this.label;
  } else {
    json[r'label'] = null;
  }
  if (this.signups != null) {
    json[r'signups'] = this.signups;
  } else {
    json[r'signups'] = null;
  }
  if (this.url != null) {
    json[r'url'] = this.url;
  } else {
    json[r'url'] = null;
  }
  return json;
}