reset method

void reset()

Implementation

void reset() {
  _currentValue = null;
  isReady..reset();
  try {
    if (!controller.isClosed && T.toString().endsWith('?'))
      controller.add(null);
  } catch (e) {
    log.info('Unable to send a null value to stream: $e');
  }
}