cancelStream method Null safety
Cancels any active streaming request.
Implementation
void cancelStream() {
_activeSubscription?.cancel();
_activeSubscription = null;
}
Cancels any active streaming request.
void cancelStream() {
_activeSubscription?.cancel();
_activeSubscription = null;
}