getCacheKeys method

Future<List<String>> getCacheKeys()

List all cache keys.

Implementation

Future<List<String>> getCacheKeys() async {
  if (_database == null) return [];
  final records = await _cacheStore.find(_database!);
  return records.map((s) => s.key).toList();
}