filled('picture_alt') ? $this->string('picture_alt')->value() : null; $pictureTitle = $this->filled('picture_title') ? $this->string('picture_title')->value() : null; return new UpdateRangeInput( range: $range, name: $this->string('name')->value(), description: $this->filled('description') ? $this->string('description')->value() : null, picture: $this->file('picture'), pictureMetadata: new PictureMetadata( alt: $pictureAlt, title: $pictureTitle, ), status: $this->boolean('status'), ); } }