digest method

Future<Digest> digest(
  1. AssetId id
)

Implementation

Future<Digest> digest(AssetId id) => inputId == id
    ? _reader.digest(id)
    : Future.error(InvalidInputException(id));