InventoryEntry constructor
Implementation
factory InventoryEntry({
Hash? block,
Hash? tx,
int? superBlock,
}) {
final _result = create();
if (block != null) {
_result.block = block;
}
if (tx != null) {
_result.tx = tx;
}
if (superBlock != null) {
_result.superBlock = superBlock;
}
return _result;
}