unsubscribeIds method
Implementation
Future<void> unsubscribeIds(List<String> subscriptionIds) async {
if (subscriptionIds.isEmpty) return;
await client.unsubscribe(subscriptionIds);
// If the server didn't send an error, we persist the fact the subscription was deleted.
subscriptionManager.unsubscribeMade(subscriptionIds);
// persist subscription metadata
await adapter.run(
_setMetaStatement('subscriptions', subscriptionManager.serialize()),
);
}