$meta Additional task metadata. */ public function __construct( public string $id, public string $title, public string $projectId, public string $column, public int $order, public bool $completed, public string $priority, public bool $isActive, public string $body, public array $meta = [] ) { } /** * Convert the task into an API-friendly array. * * @return array */ public function toArray(): array { return [ 'id' => $this->id, 'title' => $this->title, 'project_id' => $this->projectId, 'column' => $this->column, 'order' => $this->order, 'completed' => $this->completed, 'priority' => $this->priority, 'is_active' => $this->isActive, 'body' => $this->body, 'meta' => $this->meta, ]; } }