Cookbook constructor

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

Implementation

factory Cookbook({
  $core.String? creator,
  $core.String? id,
  $fixnum.Int64? nodeVersion,
  $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 (nodeVersion != null) {
    _result.nodeVersion = nodeVersion;
  }
  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;
}