close method
Closes the handler.
After closing the handler, it can't handle any new records. Calling close() multiple times has no effect.
All managed handlers will be automatically closed when this handler is closed.
Implementation
@override
Future<void> close() async {
if (_isClosed) {
return;
}
_isClosed = true;
await super.close();
await _controller.close();
}