isAvailable property

bool get isAvailable

Whether the cache is available (not on web platform).

Implementation

bool get isAvailable => _cacheDirectory != null;