UpdateAdminProposal constructor

UpdateAdminProposal({
  1. String? title,
  2. String? description,
  3. String? newAdmin,
  4. String? contract,
})

Implementation

factory UpdateAdminProposal({
  $core.String? title,
  $core.String? description,
  $core.String? newAdmin,
  $core.String? contract,
}) {
  final _result = create();
  if (title != null) {
    _result.title = title;
  }
  if (description != null) {
    _result.description = description;
  }
  if (newAdmin != null) {
    _result.newAdmin = newAdmin;
  }
  if (contract != null) {
    _result.contract = contract;
  }
  return _result;
}