onComplete method

  1. @override
CompleteData onComplete()
override

Implementation

@override
CompleteData onComplete() {
  return CompleteData(
    dateTime: currentTime.isUtc
        ? DateTime.utc(currentTime.year, currentTime.month, currentTime.day,
            _currentIndex[0]!, _currentIndex[1]!, _currentIndex[2]!)
        : DateTime(currentTime.year, currentTime.month, currentTime.day,
            _currentIndex[0]!, _currentIndex[1]!, _currentIndex[2]!),
  );
}