finalTime method Null safety

  1. @override
DateTime finalTime()
override

最终时间

Implementation

@override
DateTime finalTime() {
  return currentTime.isUtc
      ? DateTime.utc(currentTime.year, currentTime.month, currentTime.day,
          firstIndex, secondIndex, thirdIndex)
      : DateTime(currentTime.year, currentTime.month, currentTime.day,
          firstIndex, secondIndex, thirdIndex);
}