LeafOp constructor
LeafOp({})
Implementation
factory LeafOp({
HashOp? hash,
HashOp? prehashKey,
HashOp? prehashValue,
LengthOp? length,
$core.List<$core.int>? prefix,
}) {
final _result = create();
if (hash != null) {
_result.hash = hash;
}
if (prehashKey != null) {
_result.prehashKey = prehashKey;
}
if (prehashValue != null) {
_result.prehashValue = prehashValue;
}
if (length != null) {
_result.length = length;
}
if (prefix != null) {
_result.prefix = prefix;
}
return _result;
}