PaywallBorder.fromJson constructor

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

Implementation

PaywallBorder.fromJson(Map<String, dynamic> json) {
  mainDiv =
      json['mainDiv'] != null ? new MainDiv.fromJson(json['mainDiv']) : null;
  mainSubmitBtn = json['mainSubmitBtn'] != null
      ? new MainDiv.fromJson(json['mainSubmitBtn'])
      : null;
  contentDivBtn = json['contentDivBtn'] != null
      ? new MainDiv.fromJson(json['contentDivBtn'])
      : null;
  contentDiv = json['contentDiv'] != null
      ? new MainDiv.fromJson(json['contentDiv'])
      : null;
  passDivBtn = json['passDivBtn'] != null
      ? new MainDiv.fromJson(json['passDivBtn'])
      : null;
  passDiv =
      json['passDiv'] != null ? new MainDiv.fromJson(json['passDiv']) : null;
  subDivBtn = json['subDivBtn'] != null
      ? new MainDiv.fromJson(json['subDivBtn'])
      : null;
  subDiv =
      json['subDiv'] != null ? new MainDiv.fromJson(json['subDiv']) : 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 MainDiv.fromJson(json['contentHeader'])
      : null;
  passHeader = json['passHeader'] != null
      ? new MainDiv.fromJson(json['passHeader'])
      : null;
  subscriptionHeader = json['subscriptionHeader'] != null
      ? new MainDiv.fromJson(json['subscriptionHeader'])
      : null;
}