PaywallElement class
Constructors
-
PaywallElement({String? id, String? type, List<int>? padding, String? spacing, PaywallTopButton? topButton, String? background, String? offset, String? maskType, PaywallImageFile? imageFile, PaywallImageFile? iconFile, String? iconWidth, String? iconHeight, String? tintColor, int? maskHeight, int? imageHeight, List<int>? cornerRadius, String? color, String? fontId, String? hAlign, List<int>? margin, String? maxRows, String? stringId, String? onOverflow, PaywallText? text, String? title, PaywallAction? action, String? border, String? previewType, String? primaryFont, String? primaryColor, PaywallContentLayout? contentLayout, String? secondaryFont, String? secondaryColor, String? borderThickness, PaywallLinks? links, PaywallDivider? divider, PaywallTextStyle? textStyle, PaywallElementStates? states, String? groupBy, String? previewState, String? previewTextStyle, String? selectedPackageId, String? badge, PaywallBadgeStyle? badgeStyle, String? key, PaywallConnector? connector})
-
-
PaywallElement.fromJson(Map<String, dynamic> json)
-
factory
Methods
-
copyWith({String? id, String? type, List<int>? padding, String? spacing, PaywallTopButton? topButton, String? background, String? offset, String? maskType, PaywallImageFile? imageFile, PaywallImageFile? iconFile, String? iconWidth, String? iconHeight, String? tintColor, int? maskHeight, int? imageHeight, List<int>? cornerRadius, String? color, String? fontId, String? hAlign, List<int>? margin, String? maxRows, String? stringId, String? onOverflow, PaywallText? text, String? title, PaywallAction? action, String? border, String? previewType, String? primaryFont, String? primaryColor, PaywallContentLayout? contentLayout, String? secondaryFont, String? secondaryColor, String? borderThickness, PaywallLinks? links, PaywallDivider? divider, PaywallTextStyle? textStyle, PaywallElementStates? states, String? groupBy, String? previewState, String? previewTextStyle, String? selectedPackageId, String? badge, PaywallBadgeStyle? badgeStyle, String? key, PaywallConnector? connector})
→ PaywallElement
-
Returns a new instance of PaywallElement with the provided fields
replaced, while preserving the values of all unspecified fields.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
-
toString()
→ String
-
A string representation of this object.
inherited