PaywallCustomization.fromJson constructor

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

Implementation

PaywallCustomization.fromJson(Map<String, dynamic> json) {
  buttonStyle = json['buttonStyle'] != null
      ? new ButtonStyle.fromJson(json['buttonStyle'])
      : null;
  micropaymentDisplaytext = json['micropaymentDisplaytext'];
  subscriptionText = json['subscriptionText'];
  subscriptionTitle = json['subscriptionTitle'];
  crossButtonClickUrl = json['crossButtonClickUrl'];
  brandLogoUrl = json['brandLogoUrl'];
}