StyleForBtn.fromJson constructor

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

Implementation

StyleForBtn.fromJson(Map<String, dynamic> json) {
  mainSubmitBtn = json['mainSubmitBtn'] != null
      ? new MainSubmitBtn.fromJson(json['mainSubmitBtn'])
      : null;
  timerDiv = json['timerDiv'] != null
      ? new MainSubmitBtn.fromJson(json['timerDiv'])
      : null;
  showRecommended = json['showRecommended'] != null
      ? new MainSubmitBtn.fromJson(json['showRecommended'])
      : null;
  contentDivBtn = json['contentDivBtn'] != null
      ? new MainSubmitBtn.fromJson(json['contentDivBtn'])
      : null;
  passDivBtn = json['passDivBtn'] != null
      ? new MainSubmitBtn.fromJson(json['passDivBtn'])
      : null;
  subDivBtn = json['subDivBtn'] != null
      ? new MainSubmitBtn.fromJson(json['subDivBtn'])
      : 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;
}