DVSubscriptionStatus class
The current subscription state read from a provider.
Constructors
- DVSubscriptionStatus({required String status, bool cancelAtPeriodEnd = false, DateTime? currentPeriodEnd})
-
const
Properties
- cancelAtPeriodEnd → bool
-
Whether cancellation is deferred to the end of the billing period.
final
- currentPeriodEnd → DateTime?
-
When the current billing period ends, in UTC.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
Provider-specific status code (e.g. Stripe
status, Paddlestatus).final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited