/// Use Case: Vider le cache applicatif library clear_cache; import 'package:injectable/injectable.dart'; import '../repositories/system_config_repository.dart'; /// Vide le cache applicatif /// /// Use case pour nettoyer le cache et libérer de l'espace mémoire /// Endpoint: POST /api/system/cache/clear @injectable class ClearCache { final ISystemConfigRepository _repository; ClearCache(this._repository); /// Exécute le use case /// Vide complètement le cache applicatif Future call() async { return _repository.clearCache(); } }