GenesisState constructor

GenesisState({
  1. Params? params,
  2. Iterable<Any>? accounts,
})

Implementation

factory GenesisState({
  $2.Params? params,
  $core.Iterable<$1.Any>? accounts,
}) {
  final _result = create();
  if (params != null) {
    _result.params = params;
  }
  if (accounts != null) {
    _result.accounts.addAll(accounts);
  }
  return _result;
}