PreferenceCenterConfiguration.fromJson constructor

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

Implementation

PreferenceCenterConfiguration.fromJson(Map<String, dynamic> json) {
  fontFamily = json['fontFamily'];
  logoUrl = json['logoUrl'];
  showLogo = json['showLogo'];
  showCookie = json['showCookie'];
  showConsent = json['showConsent'];
  showDSR = json['showDSR'];
  title = json['title'];
  description = json['description'];
  dsrContent = json['dsrContent'];
  privacy_notice_heading = json['privacy_notice_heading'];
  preference_center_heading = json['preference_center_heading'];
  dsr_center_heading = json['dsr_center_heading'];
}