BoxId<T>.fromEvidence constructor

BoxId<T>.fromEvidence(
  1. Evidence? evidence
)

Implementation

factory BoxId.fromEvidence(Evidence? evidence) {
  return BoxId(evidence?.evBytes ??
      Digest(blake2b256DigestSize, Uint8List(blake2b256DigestSize)));
}