isMappingAvailableForBulk method

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

Checks if the mapping is available for the given digests in bulk.

Implementation

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

  for (final digest in digests) {
    data[digest] = isMappingAvailable(digest) as bool;
  }

  return data;
}