Typography.fromJson constructor

Typography.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Typography.fromJson(Map<String, dynamic> json) {
  heading =
      json['heading'] != null ? new Heading.fromJson(json['heading']) : null;
  subHeading = json['subHeading'] != null
      ? new Heading.fromJson(json['subHeading'])
      : null;
  mainSubmitBtn = json['mainSubmitBtn'] != null
      ? new MainSubmitBtn.fromJson(json['mainSubmitBtn'])
      : null;
  contentDivBtn = json['contentDivBtn'] != null
      ? new MainSubmitBtn.fromJson(json['contentDivBtn'])
      : null;
  contentDivTitle = json['contentDivTitle'] != null
      ? new Heading.fromJson(json['contentDivTitle'])
      : null;
  contentDivDiscription = json['contentDivDiscription'] != null
      ? new Heading.fromJson(json['contentDivDiscription'])
      : null;
  contentDivPrice = json['contentDivPrice'] != null
      ? new Heading.fromJson(json['contentDivPrice'])
      : null;
  contentDivCutPrice = json['contentDivCutPrice'] != null
      ? new Heading.fromJson(json['contentDivCutPrice'])
      : null;
  contentDivSymbolPrice = json['contentDivSymbolPrice'] != null
      ? new Heading.fromJson(json['contentDivSymbolPrice'])
      : null;
  contentDivSymbolCutPrice = json['contentDivSymbolCutPrice'] != null
      ? new Heading.fromJson(json['contentDivSymbolCutPrice'])
      : null;
  passDivBtn = json['passDivBtn'] != null
      ? new MainSubmitBtn.fromJson(json['passDivBtn'])
      : null;
  passDivTitle = json['passDivTitle'] != null
      ? new Heading.fromJson(json['passDivTitle'])
      : null;
  passDivDiscription = json['passDivDiscription'] != null
      ? new Heading.fromJson(json['passDivDiscription'])
      : null;
  passDivPrice = json['passDivPrice'] != null
      ? new Heading.fromJson(json['passDivPrice'])
      : null;
  passDivCutPrice = json['passDivCutPrice'] != null
      ? new Heading.fromJson(json['passDivCutPrice'])
      : null;
  passDivSymbolPrice = json['passDivSymbolPrice'] != null
      ? new Heading.fromJson(json['passDivSymbolPrice'])
      : null;
  passDivSymbolCutPrice = json['passDivSymbolCutPrice'] != null
      ? new Heading.fromJson(json['passDivSymbolCutPrice'])
      : null;
  subDivBtn = json['subDivBtn'] != null
      ? new MainSubmitBtn.fromJson(json['subDivBtn'])
      : null;
  subDivTitle = json['subDivTitle'] != null
      ? new Heading.fromJson(json['subDivTitle'])
      : null;
  subDivDiscription = json['subDivDiscription'] != null
      ? new Heading.fromJson(json['subDivDiscription'])
      : null;
  subDivPrice = json['subDivPrice'] != null
      ? new Heading.fromJson(json['subDivPrice'])
      : null;
  subscriptionDivCutPrice = json['subscriptionDivCutPrice'] != null
      ? new Heading.fromJson(json['subscriptionDivCutPrice'])
      : null;
  subscriptionDivSymbolPrice = json['subscriptionDivSymbolPrice'] != null
      ? new Heading.fromJson(json['subscriptionDivSymbolPrice'])
      : null;
  subscriptionDivSymbolCutPrice =
      json['subscriptionDivSymbolCutPrice'] != null
          ? new Heading.fromJson(json['subscriptionDivSymbolCutPrice'])
          : null;
  couponLeftText = json['couponLeftText'] != null
      ? new Heading.fromJson(json['couponLeftText'])
      : null;
  couponRightText = json['couponRightText'] != null
      ? new Heading.fromJson(json['couponRightText'])
      : null;
  alreadyLeftText = json['AlreadyLeftText'] != null
      ? new Heading.fromJson(json['AlreadyLeftText'])
      : null;
  conscentBalance = json['conscentBalance'] != null
      ? new Heading.fromJson(json['conscentBalance'])
      : null;
  priceText = json['priceText'] != null
      ? new Heading.fromJson(json['priceText'])
      : null;
  cutPriceText = json['CutPriceText'] != null
      ? new Heading.fromJson(json['CutPriceText'])
      : null;
  loginText = json['loginText'] != null
      ? new Heading.fromJson(json['loginText'])
      : null;
  timerDiv = json['timerDiv'] != null
      ? new MainSubmitBtn.fromJson(json['timerDiv'])
      : null;
  showRecommended = json['showRecommended'] != null
      ? new MainSubmitBtn.fromJson(json['showRecommended'])
      : null;
  contentHeader = json['contentHeader'] != null
      ? new MainSubmitBtn.fromJson(json['contentHeader'])
      : null;
  passHeader = json['passHeader'] != null
      ? new MainSubmitBtn.fromJson(json['passHeader'])
      : null;
  subscriptionHeader = json['subscriptionHeader'] != null
      ? new MainSubmitBtn.fromJson(json['subscriptionHeader'])
      : null;
}