Proof constructor
Proof({
- Proof_Locked? locked,
- Proof_Digest? digest,
- Proof_DigitalSignature? digitalSignature,
- Proof_HeightRange? heightRange,
- Proof_TickRange? tickRange,
- Proof_ExactMatch? exactMatch,
- Proof_LessThan? lessThan,
- Proof_GreaterThan? greaterThan,
- Proof_EqualTo? equalTo,
- Proof_Threshold? threshold,
- Proof_Not? not,
- Proof_And? and,
- Proof_Or? or,
Implementation
factory Proof({
Proof_Locked? locked,
Proof_Digest? digest,
Proof_DigitalSignature? digitalSignature,
Proof_HeightRange? heightRange,
Proof_TickRange? tickRange,
Proof_ExactMatch? exactMatch,
Proof_LessThan? lessThan,
Proof_GreaterThan? greaterThan,
Proof_EqualTo? equalTo,
Proof_Threshold? threshold,
Proof_Not? not,
Proof_And? and,
Proof_Or? or,
}) {
final _result = create();
if (locked != null) {
_result.locked = locked;
}
if (digest != null) {
_result.digest = digest;
}
if (digitalSignature != null) {
_result.digitalSignature = digitalSignature;
}
if (heightRange != null) {
_result.heightRange = heightRange;
}
if (tickRange != null) {
_result.tickRange = tickRange;
}
if (exactMatch != null) {
_result.exactMatch = exactMatch;
}
if (lessThan != null) {
_result.lessThan = lessThan;
}
if (greaterThan != null) {
_result.greaterThan = greaterThan;
}
if (equalTo != null) {
_result.equalTo = equalTo;
}
if (threshold != null) {
_result.threshold = threshold;
}
if (not != null) {
_result.not = not;
}
if (and != null) {
_result.and = and;
}
if (or != null) {
_result.or = or;
}
return _result;
}