cancelSubscription abstract method
Cancel the customer's subscription. When atPeriodEnd is true, the
subscription remains active until the current billing period ends and
is then revoked; when false, it is revoked immediately.
Throws UnsupportedError when the provider does not support deferred cancellation.
Implementation
Future<void> cancelSubscription({
required Object customer,
bool atPeriodEnd = false,
});