UserOfferDisplay class
Server-configurable display copy for all tip-card states.
Mirrors UserOffer.Display on Android. Empty strings mean "use SDK default".
Constructors
- UserOfferDisplay({required String title, required String body, required String ctaText, required String dismissText, required String acceptedTitle, required String acceptedBody, required String completedTitle, required String completedBody, required String appleCancelInstructions})
-
const
-
UserOfferDisplay.fromMap(Map<
String, dynamic> m) -
factory
Properties
- acceptedBody → String
-
Body copy shown after the user accepts the offer.
final
- acceptedTitle → String
-
Headline shown after the user accepts the offer.
final
- appleCancelInstructions → String
-
Instructions for manually cancelling the Apple subscription post-migration.
final
- body → String
-
The body copy explaining the offer.
final
- completedBody → String
-
Body copy shown after the offer checkout completes.
final
- completedTitle → String
-
Headline shown after the offer checkout completes.
final
- ctaText → String
-
Label for the primary call-to-action button.
final
- dismissText → String
-
Label for the dismiss/decline button.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
The primary headline shown on the offer card.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited