addItem

abstract fun addItem(scheduleItemData: ScheduleItemData): Schedule.ScheduleItem

Adds the item to the schedule

Parameters

item

the item to add. The item's end time must be less than or equal to the schedule's initial start time plus the schedule length