isMappingAvailable method

  1. @override
FutureOr<bool> isMappingAvailable(
  1. String digest
)
override

Checks if the mapping is available for the given digest.

Implementation

@override
FutureOr<bool> isMappingAvailable(String digest) async {
  final resp = await _command.get(digest);
  if (resp != null) {
    _cache[digest] = resp.toString();
    return true;
  }

  return false;
}