getCachedFilePathForBulk method

  1. @override
FutureOr<Map<String, String>> getCachedFilePathForBulk(
  1. Iterable<String> digests
)
override

Gets the cached file path for the given digests in bulk.

Implementation

@override
FutureOr<Map<String, String>> getCachedFilePathForBulk(
  Iterable<String> digests,
) {
  final Map<String, String> data = {};

  for (final digest in digests) {
    data[digest] = getCachedFilePath(digest) as String;
  }

  return data;
}