close method
Releases any resources of the current dumper.
Implementation
Future<void> close() async {
// This check is necessary as [complete] might have called [close].
if (_closed) {
return;
}
logger?.info('dumper: Closing RAF');
await _dataRAF!.close();
_dataRAF = null;
_closed = true;
}