destroy method

  1. @override
void destroy()

Destroys the stream controller.

Implementation

@override
void destroy() async {
  await _controller.close();
}