cancel method
Stop and delete the partial file.
Implementation
Future<void> cancel() async {
if (_done) return;
_done = true;
_finalizer.detach(this);
await _guard(VideoFrames.writerApi.cancelWriter(_id));
}
Stop and delete the partial file.
Future<void> cancel() async {
if (_done) return;
_done = true;
_finalizer.detach(this);
await _guard(VideoFrames.writerApi.cancelWriter(_id));
}