finalTime method Null safety

  1. @override
DateTime finalTime()
override

Implementation

@override
DateTime finalTime() {
  return currentTime.isUtc
      ? DateTime.utc(currentTime.year, currentTime.month, currentTime.day,
          _currentLeftIndex, _currentMiddleIndex, _currentRightIndex)
      : DateTime(currentTime.year, currentTime.month, currentTime.day,
          _currentLeftIndex, _currentMiddleIndex, _currentRightIndex);
}