selectedTimeSlot property

TimeSlot? get selectedTimeSlot

Implementation

TimeSlot? get selectedTimeSlot =>
    _selectedIndex != null ? _timeslots[_selectedIndex!] : null;