GetBlockWithTxsResponse constructor
GetBlockWithTxsResponse({
- Iterable<
Tx> ? txs, - BlockID? blockId,
- Block? block,
- PageResponse? pagination,
Implementation
factory GetBlockWithTxsResponse({
$core.Iterable<$7.Tx>? txs,
$9.BlockID? blockId,
$10.Block? block,
$6.PageResponse? pagination,
}) {
final _result = create();
if (txs != null) {
_result.txs.addAll(txs);
}
if (blockId != null) {
_result.blockId = blockId;
}
if (block != null) {
_result.block = block;
}
if (pagination != null) {
_result.pagination = pagination;
}
return _result;
}