toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  if (this.mainSubmitBtn != null) {
    data['mainSubmitBtn'] = this.mainSubmitBtn!.toJson();
  }
  if (this.timerDiv != null) {
    data['timerDiv'] = this.timerDiv!.toJson();
  }
  if (this.showRecommended != null) {
    data['showRecommended'] = this.showRecommended!.toJson();
  }
  if (this.contentDivBtn != null) {
    data['contentDivBtn'] = this.contentDivBtn!.toJson();
  }
  if (this.passDivBtn != null) {
    data['passDivBtn'] = this.passDivBtn!.toJson();
  }
  if (this.subDivBtn != null) {
    data['subDivBtn'] = this.subDivBtn!.toJson();
  }
  if (this.contentHeader != null) {
    data['contentHeader'] = this.contentHeader!.toJson();
  }
  if (this.passHeader != null) {
    data['passHeader'] = this.passHeader!.toJson();
  }
  if (this.subscriptionHeader != null) {
    data['subscriptionHeader'] = this.subscriptionHeader!.toJson();
  }
  return data;
}