startNewStream method

void startNewStream({
  1. bool resetCurrentValue = true,
})

Implementation

void startNewStream({bool resetCurrentValue = true}) {
  if (_isLoading) return;

  _isLoading = true;
  if (resetCurrentValue) super.value = TextEditingValue.empty;

  if (streamEventShouldNotify) notifyListeners();
}