RequestBeginBlock constructor
RequestBeginBlock({})
Implementation
factory RequestBeginBlock({
$core.List<$core.int>? hash,
$2.Header? header,
LastCommitInfo? lastCommitInfo,
$core.Iterable<Evidence>? byzantineValidators,
}) {
final _result = create();
if (hash != null) {
_result.hash = hash;
}
if (header != null) {
_result.header = header;
}
if (lastCommitInfo != null) {
_result.lastCommitInfo = lastCommitInfo;
}
if (byzantineValidators != null) {
_result.byzantineValidators.addAll(byzantineValidators);
}
return _result;
}