unsubscribe static method
Implementation
static Future<void> unsubscribe(String topic) async {
// Running on Web?
if (GetPlatform.isWeb) {
return PushyWebSDK.unsubscribe(topic);
}
// Attempt to unsubscribe the device from topic
return await _channel.invokeMethod('unsubscribe', <dynamic>[topic]);
}