Evidence.fromBase58 constructor

Evidence.fromBase58(
  1. String evidence
)

Implementation

factory Evidence.fromBase58(String evidence) {
  final decodedEvidence = Base58Data.validated(evidence).value;
  return Evidence.apply(decodedEvidence[0],
      Digest.from(decodedEvidence.sublist(1), Evidence.contentLength));
}