TriggerResult class
The result of a paywall trigger.
Triggers can conditionally show paywalls. Contains the possible cases resulting from the trigger.
Constructors
- TriggerResult.error(String error)
-
factory
- TriggerResult.fromPTriggerResult(PTriggerResult result)
-
factory
- TriggerResult.holdout(Experiment experiment)
-
factory
- TriggerResult.noAudienceMatch()
-
factory
- TriggerResult.paywall(Experiment experiment)
-
factory
- TriggerResult.placementNotFound()
-
factory
Properties
- error → String?
-
final
- experiment → Experiment?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → TriggerResultType
-
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