Lock constructor
Lock({
- Lock_Predicate? predicate,
- Lock_Image? image,
- Lock_Commitment? commitment,
Implementation
factory Lock({
Lock_Predicate? predicate,
Lock_Image? image,
Lock_Commitment? commitment,
}) {
final _result = create();
if (predicate != null) {
_result.predicate = predicate;
}
if (image != null) {
_result.image = image;
}
if (commitment != null) {
_result.commitment = commitment;
}
return _result;
}