extractFromCache method

List<Map<String, dynamic>> extractFromCache(
  1. Map<String, dynamic> cache
)
inherited

Implementation

List<Map<String, dynamic>> extractFromCache(Map<String, dynamic> cache) {
  List<Map<String, dynamic>> values = [];
  for (var key in cache.keys) {
    Map<String, dynamic> data = cache[key];
    data.remove("metadata");

    values.add(data);
  }

  return values;
}