Sequence constructor
Implementation
Sequence({
required this.seqType,
required this.value,
this.isTypeBlock = true,
}) {
if (seqType == BitcoinOpCodeConst.typeRelativeTimelock &&
(value < 1 || value > BinaryOps.mask16)) {
throw const DartBitcoinPluginException(
'Sequence should be between 1 and 65535',
);
}
}