init method
Ensure the disk cache directory exists.
Implementation
Future<void> init() async {
final dir = Directory(_cacheDir);
if (!await dir.exists()) {
await dir.create(recursive: true);
Logger.debug('Created cache directory: $_cacheDir');
}
}