cachedViewIds method

Future<List<String>> cachedViewIds()

Get all cached view IDs.

Implementation

Future<List<String>> cachedViewIds() async {
  final allKeys = await storage.keys();
  return allKeys
      .where((k) => k.startsWith(_prefix))
      .map((k) => k.substring(_prefix.length))
      .toList();
}