Digest.fromBase58 constructor

Digest.fromBase58(
  1. String digest,
  2. int size
)

Implementation

factory Digest.fromBase58(String digest, int size) {
  final decodedDigest = Base58Data.validated(digest).value;
  return Digest.from(decodedDigest, size);
}