BlockHeaderInfo constructor
BlockHeaderInfo({})
Implementation
factory BlockHeaderInfo({
$core.int? version,
$core.String? prevBlockHash,
$core.String? stateRoot,
$core.String? sortitionSeed,
$core.String? proposerAddress,
}) {
final _result = create();
if (version != null) {
_result.version = version;
}
if (prevBlockHash != null) {
_result.prevBlockHash = prevBlockHash;
}
if (stateRoot != null) {
_result.stateRoot = stateRoot;
}
if (sortitionSeed != null) {
_result.sortitionSeed = sortitionSeed;
}
if (proposerAddress != null) {
_result.proposerAddress = proposerAddress;
}
return _result;
}