updateSubscriptionStatus static method

Future<void> updateSubscriptionStatus(
  1. bool granted,
  2. String channel
)

Implementation

static Future<void> updateSubscriptionStatus(
    bool granted, String channel) async {
  if (channel != 'KwikEngage Marketing') return;
  NotificationHelper.sendOptInStatus(granted);
}