RpcBlock constructor
RpcBlock({
- RpcBlockHeader? header,
- Iterable<
RpcTransaction> ? transactions, - RpcBlockVerboseData? verboseData,
Implementation
factory RpcBlock({
RpcBlockHeader? header,
$core.Iterable<RpcTransaction>? transactions,
RpcBlockVerboseData? verboseData,
}) {
final _result = create();
if (header != null) {
_result.header = header;
}
if (transactions != null) {
_result.transactions.addAll(transactions);
}
if (verboseData != null) {
_result.verboseData = verboseData;
}
return _result;
}