SudoContractProposal constructor

SudoContractProposal({
  1. String? title,
  2. String? description,
  3. String? contract,
  4. List<int>? msg,
})

Implementation

factory SudoContractProposal({
  $core.String? title,
  $core.String? description,
  $core.String? contract,
  $core.List<$core.int>? msg,
}) {
  final _result = create();
  if (title != null) {
    _result.title = title;
  }
  if (description != null) {
    _result.description = description;
  }
  if (contract != null) {
    _result.contract = contract;
  }
  if (msg != null) {
    _result.msg = msg;
  }
  return _result;
}