unRegisterPushTokenCallbackEvents method

  1. @override
Future<void> unRegisterPushTokenCallbackEvents()
override

Implementation

@override
Future<void> unRegisterPushTokenCallbackEvents() async {
  await _configChannel.invokeMethod<bool>(
      SuperfineSdkChannelMethods.unRegisterPushTokenListener);
  await _pushTokenSubscription?.cancel();
  _pushTokenSubscription = null;
}