cancel method

void cancel()

关闭监听q

Implementation

void cancel() {
  if (streamSubscription != null) {
    streamSubscription?.cancel();
  }
}