reset method
void
reset([
- T? value
Implementation
void reset([T? value]) {
if (isActive) {
complete(value);
_delegate = Completer<T>();
} else if (_isStarted) {
_delegate = Completer<T>();
}
_isStarted = false;
}