toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  if (this.heading != null) {
    data['heading'] = this.heading!.toJson();
  }
  if (this.subHeading != null) {
    data['subHeading'] = this.subHeading!.toJson();
  }
  if (this.mainSubmitBtn != null) {
    data['mainSubmitBtn'] = this.mainSubmitBtn!.toJson();
  }
  if (this.contentDivBtn != null) {
    data['contentDivBtn'] = this.contentDivBtn!.toJson();
  }
  if (this.contentDivTitle != null) {
    data['contentDivTitle'] = this.contentDivTitle!.toJson();
  }
  if (this.contentDivDiscription != null) {
    data['contentDivDiscription'] = this.contentDivDiscription!.toJson();
  }
  if (this.contentDivPrice != null) {
    data['contentDivPrice'] = this.contentDivPrice!.toJson();
  }
  if (this.contentDivCutPrice != null) {
    data['contentDivCutPrice'] = this.contentDivCutPrice!.toJson();
  }
  if (this.contentDivSymbolPrice != null) {
    data['contentDivSymbolPrice'] = this.contentDivSymbolPrice!.toJson();
  }
  if (this.contentDivSymbolCutPrice != null) {
    data['contentDivSymbolCutPrice'] =
        this.contentDivSymbolCutPrice!.toJson();
  }
  if (this.passDivBtn != null) {
    data['passDivBtn'] = this.passDivBtn!.toJson();
  }
  if (this.passDivTitle != null) {
    data['passDivTitle'] = this.passDivTitle!.toJson();
  }
  if (this.passDivDiscription != null) {
    data['passDivDiscription'] = this.passDivDiscription!.toJson();
  }
  if (this.passDivPrice != null) {
    data['passDivPrice'] = this.passDivPrice!.toJson();
  }
  if (this.passDivCutPrice != null) {
    data['passDivCutPrice'] = this.passDivCutPrice!.toJson();
  }
  if (this.passDivSymbolPrice != null) {
    data['passDivSymbolPrice'] = this.passDivSymbolPrice!.toJson();
  }
  if (this.passDivSymbolCutPrice != null) {
    data['passDivSymbolCutPrice'] = this.passDivSymbolCutPrice!.toJson();
  }
  if (this.subDivBtn != null) {
    data['subDivBtn'] = this.subDivBtn!.toJson();
  }
  if (this.subDivTitle != null) {
    data['subDivTitle'] = this.subDivTitle!.toJson();
  }
  if (this.subDivDiscription != null) {
    data['subDivDiscription'] = this.subDivDiscription!.toJson();
  }
  if (this.subDivPrice != null) {
    data['subDivPrice'] = this.subDivPrice!.toJson();
  }
  if (this.subscriptionDivCutPrice != null) {
    data['subscriptionDivCutPrice'] = this.subscriptionDivCutPrice!.toJson();
  }
  if (this.subscriptionDivSymbolPrice != null) {
    data['subscriptionDivSymbolPrice'] =
        this.subscriptionDivSymbolPrice!.toJson();
  }
  if (this.subscriptionDivSymbolCutPrice != null) {
    data['subscriptionDivSymbolCutPrice'] =
        this.subscriptionDivSymbolCutPrice!.toJson();
  }
  if (this.couponLeftText != null) {
    data['couponLeftText'] = this.couponLeftText!.toJson();
  }
  if (this.couponRightText != null) {
    data['couponRightText'] = this.couponRightText!.toJson();
  }
  if (this.alreadyLeftText != null) {
    data['AlreadyLeftText'] = this.alreadyLeftText!.toJson();
  }
  if (this.conscentBalance != null) {
    data['conscentBalance'] = this.conscentBalance!.toJson();
  }
  if (this.priceText != null) {
    data['priceText'] = this.priceText!.toJson();
  }
  if (this.cutPriceText != null) {
    data['CutPriceText'] = this.cutPriceText!.toJson();
  }
  if (this.loginText != null) {
    data['loginText'] = this.loginText!.toJson();
  }
  if (this.timerDiv != null) {
    data['timerDiv'] = this.timerDiv!.toJson();
  }
  if (this.showRecommended != null) {
    data['showRecommended'] = this.showRecommended!.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;
}