UpgradeTargetingRule class

Represents a targeting rule of the form: User currently has {scope} [with billing period {billing_period}].

Constructors

UpgradeTargetingRule({String? billingPeriodDuration, bool? oncePerUser, TargetingRuleScope? scope})
UpgradeTargetingRule.fromJson(Map json_)

Properties

billingPeriodDuration String?
The specific billing period duration, specified in ISO 8601 format, that a user must be currently subscribed to to be eligible for this rule.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
oncePerUser bool?
Limit this offer to only once per user.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope TargetingRuleScope?
The scope of subscriptions this rule considers.
getter/setter pair

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited