GenesisState_GenMsgs constructor

GenesisState_GenMsgs({
  1. MsgStoreCode? storeCode,
  2. MsgInstantiateContract? instantiateContract,
  3. MsgExecuteContract? executeContract,
})

Implementation

factory GenesisState_GenMsgs({
  $0.MsgStoreCode? storeCode,
  $0.MsgInstantiateContract? instantiateContract,
  $0.MsgExecuteContract? executeContract,
}) {
  final _result = create();
  if (storeCode != null) {
    _result.storeCode = storeCode;
  }
  if (instantiateContract != null) {
    _result.instantiateContract = instantiateContract;
  }
  if (executeContract != null) {
    _result.executeContract = executeContract;
  }
  return _result;
}