ProtoGossipBlockRange constructor
ProtoGossipBlockRange({
- int? batchId,
- Iterable<
ProtoGossipBlockRange_Block> ? blocks,
Implementation
factory ProtoGossipBlockRange({
$core.int? batchId,
$core.Iterable<ProtoGossipBlockRange_Block>? blocks,
}) {
final _result = create();
if (batchId != null) {
_result.batchId = batchId;
}
if (blocks != null) {
_result.blocks.addAll(blocks);
}
return _result;
}