fifthStringAtIndex method Null safety

String? fifthStringAtIndex(
  1. int index
)

Implementation

String? fifthStringAtIndex(int index) {
  int max = _maxMinuteOfCurrentHour();
  int min = _minMinuteOfCurrentHour();

  if (index >= 0 && index < max - min + 1) {
    return padZero(min + index);
  }
  return null;
}