isScheduledToCancel property
bool
get
isScheduledToCancel
Whether the subscription is scheduled to cancel.
Implementation
bool get isScheduledToCancel => cancelAtPeriodEnd && currentPeriodEnd > 0;
Whether the subscription is scheduled to cancel.
bool get isScheduledToCancel => cancelAtPeriodEnd && currentPeriodEnd > 0;