Evidence.apply constructor
Evidence.apply(
- EvidenceTypePrefix prefix,
- Digest content
Implementation
factory Evidence.apply(EvidenceTypePrefix prefix, Digest content) {
assert(content.bytes.length == contentLength,
'Invalid evidence: incorrect EvidenceContent length');
return Evidence(prefix, content);
}