timerPickerHourLabels property Null safety

List<String> timerPickerHourLabels
override

All possible hour labels that appears next to the hour picker in CupertinoTimerPicker

Implementation

@override
List<String> get timerPickerHourLabels => <String>[
  if (timerPickerHourLabelZero != null) timerPickerHourLabelZero!,
  if (timerPickerHourLabelOne != null) timerPickerHourLabelOne!,
  if (timerPickerHourLabelTwo != null) timerPickerHourLabelTwo!,
  if (timerPickerHourLabelFew != null) timerPickerHourLabelFew!,
  if (timerPickerHourLabelMany != null) timerPickerHourLabelMany!,
  if (timerPickerHourLabelOther != null) timerPickerHourLabelOther!,
];