PaywallStyleData.fromMap constructor
PaywallStyleData.fromMap(
- Map map
Implementation
factory PaywallStyleData.fromMap(Map<dynamic, dynamic> map) {
return PaywallStyleData(
map['bodyFontSize'],
map['bodyTextColor'],
map['titleFontSize'],
map['backgroundColor'],
map['skuButtonColor'],
map['skuButtonTextColor'],
map['termsLinkColor'],
map['titleTextColor'],
map['bodyShadowColor'],
map['bodyShadowRadius'],
map['titleShadowColor'],
map['titleShadowRadius'],
map['bottomOverlayColor'],
map['bottomOverlayCornerRadius'],
map['closeButtonFontSize'],
map['closeButtonTextColor'],
map['closeButtonShadowColor'],
map['closeButtonShadowRadius'],
map['signInButtonFontSize'],
map['signInButtonTextColor'],
map['signInButtonShadowColor'],
map['signInButtonShadowRadius'],
map['purchaseTermsFontSize'],
map['purchaseTermsTextColor'],
map['purchaseTermsShadowColor'],
map['purchaseTermsShadowRadius'],
map['restoreButtonFontSize'],
map['restoreButtonTextColor'],
map['restoreButtonShadowColor'],
map['restoreButtonShadowRadius'],
map['featuredSkuButtonColor'],
map['featuredSkuButtonTextColor']);
}