WsSub constructor
WsSub({
- bool? isUnsub,
- WsSubBlocks? blocks,
- WsSubScript? script,
- WsSubTokenId? tokenId,
- WsSubLokadId? lokadId,
- WsPlugin? plugin,
- WsSubTxId? txid,
- WsSubTxs? txs,
Implementation
factory WsSub({
$core.bool? isUnsub,
WsSubBlocks? blocks,
WsSubScript? script,
WsSubTokenId? tokenId,
WsSubLokadId? lokadId,
WsPlugin? plugin,
WsSubTxId? txid,
WsSubTxs? txs,
}) {
final result = create();
if (isUnsub != null) result.isUnsub = isUnsub;
if (blocks != null) result.blocks = blocks;
if (script != null) result.script = script;
if (tokenId != null) result.tokenId = tokenId;
if (lokadId != null) result.lokadId = lokadId;
if (plugin != null) result.plugin = plugin;
if (txid != null) result.txid = txid;
if (txs != null) result.txs = txs;
return result;
}