FileApiCacheStore.locatedBy constructor

FileApiCacheStore.locatedBy(
  1. FutureOr<Directory> locate()
)

A store whose directory is found on first use, so creating one asks nothing of the platform.

Implementation

FileApiCacheStore.locatedBy(FutureOr<Directory> Function() locate)
    : _locate = locate;