unregisterFromTopic static method

Future<void> unregisterFromTopic(
  1. String topic
)

Unregister the current device from a topic, the topic is matched using the code of the topic.

@param topics The topic you will unregister from. @returns A future that completes once the registration is successful.

Implementation

static Future<void> unregisterFromTopic(String topic) async =>
    MBPush.unregisterFromTopic(topic);