GenesisState constructor
GenesisState({})
Implementation
factory GenesisState({
$3.Params? params,
$core.Iterable<Code>? codes,
$core.Iterable<Contract>? contracts,
$core.Iterable<Sequence>? sequences,
$core.Iterable<GenesisState_GenMsgs>? genMsgs,
}) {
final _result = create();
if (params != null) {
_result.params = params;
}
if (codes != null) {
_result.codes.addAll(codes);
}
if (contracts != null) {
_result.contracts.addAll(contracts);
}
if (sequences != null) {
_result.sequences.addAll(sequences);
}
if (genMsgs != null) {
_result.genMsgs.addAll(genMsgs);
}
return _result;
}