endOfToday property

DateTime endOfToday

Return the end of today. The result will be in the local timezone.

Implementation

static DateTime get endOfToday => DateTime.now().endOfDay;