unregisterPushToken static method

Future<void> unregisterPushToken(
  1. {required PushTokenType type,
  2. required String token}
)

Unregisters push token for the current User.

Implementation

static Future<void> unregisterPushToken({
  required PushTokenType type,
  required String token,
}) async {
  sbLog.i(StackTrace.current, 'PushTokenType: $type');
  return await _instance._chat.unregisterPushToken(
    type: type,
    token: token,
  );
}