startOfToday static method

DateTime startOfToday()

Start of today in the local timezone

Implementation

static DateTime startOfToday() => DateTime.now().startOfDay();