clearAll static method

Future<void> clearAll()

Clear all metadata.

Implementation

static Future<void> clearAll() async {
  _cache.clear();
  final path = await _getMetadataPath();
  final file = File(path);
  if (file.existsSync()) {
    await file.delete();
  }
}