unsubscribeToTopic method

Future<bool> unsubscribeToTopic(
  1. String topic
)

Implementation

Future<bool> unsubscribeToTopic(String topic) async {
  return await _channel.invokeMethod(
      CHANNEL_METHOD_UNSUBSCRIBE_TOPIC, {NOTIFICATION_TOPIC: topic});
}