StoreCodeProposal constructor

StoreCodeProposal({
  1. String? title,
  2. String? description,
  3. String? runAs,
  4. List<int>? wasmByteCode,
  5. AccessConfig? instantiatePermission,
})

Implementation

factory StoreCodeProposal({
  $core.String? title,
  $core.String? description,
  $core.String? runAs,
  $core.List<$core.int>? wasmByteCode,
  $3.AccessConfig? instantiatePermission,
}) {
  final _result = create();
  if (title != null) {
    _result.title = title;
  }
  if (description != null) {
    _result.description = description;
  }
  if (runAs != null) {
    _result.runAs = runAs;
  }
  if (wasmByteCode != null) {
    _result.wasmByteCode = wasmByteCode;
  }
  if (instantiatePermission != null) {
    _result.instantiatePermission = instantiatePermission;
  }
  return _result;
}