streamCancel method

Future<Success> streamCancel(
  1. String streamId
)

The streamCancel RPC cancels a stream subscription in the VM.

If the client is not subscribed to the stream, the 104 (Stream not subscribed) RPC error code is returned.

See Success.

Implementation

Future<Success> streamCancel(String streamId) =>
    _call('streamCancel', {'streamId': streamId});