/**
  * @param Card $card
  * @param Checklist $checklist
  * @param ChecklistItem $checkItem
  * @param string $newState
  */
 protected function updateItemIfStatusChanged(ChecklistItem $checkItem, $newState)
 {
     if ($checkItem->getChecked() != $newState) {
         $checkItem->setChecked($newState);
         $this->getTrelloApi()->updateChecklistItem($this->card, $this->checklist, $checkItem);
     }
 }
 /**
  * @return array
  */
 public function getData()
 {
     return ['value' => $this->object->getChecked()];
 }
 /**
  * @return array
  */
 public function getData()
 {
     return ['name' => $this->object->getName(), 'pos' => $this->object->getPos(), 'checked' => $this->object->getChecked()];
 }