close method

Future<void> close()

Closes the stream and therefore starts the delete timer.

Implementation

Future<void> close() async {
  await _streamController?.close();
  _streamController = null;
}