pauseSubscription method

  1. @override
Future<void> pauseSubscription({
  1. required Object customer,
})
override

Pause the customer's subscription. The subscription stays active with no charge until resumed; the exact behavior depends on the provider.

Throws UnsupportedError when the provider does not support pausing.

Implementation

@override
Future<void> pauseSubscription({required Object customer}) async {
  throw UnsupportedError('Local billing does not support pausing.');
}