finishScan method
Ends the scan of fileId with result (default FakeFileSettings.scanResult): the
file becomes complete; a servable image gets thumbnails and a voice file its duration;
appends file.updated (12 3.4).
Implementation
void finishScan(String fileId, {String? result}) {
final f = files[fileId]!;
_scanned(f, result ?? fileSettings.scanResult);
_fileUpdated(f);
}