MsgCreateCookbook constructor

MsgCreateCookbook({
  1. String? creator,
  2. String? id,
  3. String? name,
  4. String? description,
  5. String? developer,
  6. String? version,
  7. String? supportEmail,
  8. bool? enabled,
})

Implementation

factory MsgCreateCookbook({
  $core.String? creator,
  $core.String? id,
  $core.String? name,
  $core.String? description,
  $core.String? developer,
  $core.String? version,
  $core.String? supportEmail,
  $core.bool? enabled,
}) {
  final _result = create();
  if (creator != null) {
    _result.creator = creator;
  }
  if (id != null) {
    _result.id = id;
  }
  if (name != null) {
    _result.name = name;
  }
  if (description != null) {
    _result.description = description;
  }
  if (developer != null) {
    _result.developer = developer;
  }
  if (version != null) {
    _result.version = version;
  }
  if (supportEmail != null) {
    _result.supportEmail = supportEmail;
  }
  if (enabled != null) {
    _result.enabled = enabled;
  }
  return _result;
}