dispose method

void dispose()

Cancels any ongoing URI link stream.

Implementation

void dispose() {
  _sub?.cancel();
  _sub = null;
}