SDK
SDK Dart v1.x
2

# unsubscribe

Removes a subscription.

# Arguments

Copied to clipboard!
Future<void> unsubscribe(String roomId)
Argument Type Description
roomid
String
Subscription room ID

# Usage

Copied to clipboard!
final roomId = await kuzzle
  .realtime
  .subscribe(
    'nyc-open-data',
    'yellow-taxi',
    {},
    (notification) {
      print(notification);
  });
await kuzzle
  .realtime
  .unsubscribe(roomId);