PaywallCustomization.fromJson constructor

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

Implementation

factory PaywallCustomization.fromJson(Map<String, dynamic> json) =>
    PaywallCustomization(
      buttonStyle: ButtonStyle.fromJson(json["buttonStyle"]),
      micropaymentDisplaytext: json["micropaymentDisplaytext"],
      subscriptionText: json["subscriptionText"],
      subscriptionTitle: json["subscriptionTitle"],
      crossButtonClickUrl: json["crossButtonClickUrl"],
      brandLogoUrl: json["brandLogoUrl"],
    );