toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.custom != null) {
    json[r'custom'] = this.custom;
  } else {
    json[r'custom'] = null;
  }
  if (this.funnel != null) {
    json[r'funnel'] = this.funnel;
  } else {
    json[r'funnel'] = null;
  }
  if (this.progress != null) {
    json[r'progress'] = this.progress;
  } else {
    json[r'progress'] = null;
  }
    json[r'steps'] = this.steps;
  if (this.title != null) {
    json[r'title'] = this.title;
  } else {
    json[r'title'] = null;
  }
  if (this.version != null) {
    json[r'version'] = this.version;
  } else {
    json[r'version'] = null;
  }
  return json;
}