hoursPerDay constant Null safety

int const hoursPerDay

The number of hours per day.

Notice that some days may differ in length because of time zone changes due to daylight saving. The Duration class is time zone agnostic and considers all days to have 24 hours.

Implementation

static const int hoursPerDay = 24;