finalTime method

  1. @override
DateTime finalTime()
override

Implementation

@override
DateTime finalTime() {
  int hour = _currentLeftIndex + 12 * _currentRightIndex;
  return currentTime.isUtc
      ? DateTime.utc(currentTime.year, currentTime.month, currentTime.day,
          hour, _currentMiddleIndex, 0)
      : DateTime(currentTime.year, currentTime.month, currentTime.day, hour,
          _currentMiddleIndex, 0);
}