ScanService constructor

ScanService({
  1. DiskCache? cache,
})

Creates a ScanService, optionally injecting a custom DiskCache.

Implementation

ScanService({DiskCache? cache}) : _cache = cache ?? DiskCache();