dispose method

void dispose()

Implementation

void dispose() {
  streamSubscription?.cancel();
}