GenesisState constructor
GenesisState({
- Params? params,
- Iterable<
SigningInfo> ? signingInfos, - Iterable<
ValidatorMissedBlocks> ? missedBlocks,
Implementation
factory GenesisState({
$4.Params? params,
$core.Iterable<SigningInfo>? signingInfos,
$core.Iterable<ValidatorMissedBlocks>? missedBlocks,
}) {
final _result = create();
if (params != null) {
_result.params = params;
}
if (signingInfos != null) {
_result.signingInfos.addAll(signingInfos);
}
if (missedBlocks != null) {
_result.missedBlocks.addAll(missedBlocks);
}
return _result;
}