Closed
Description
I have a list of DateTime string and want to know the latest DateTime in my list. If DateTime would not only provide .isBefore()
and .isAfter()
I should be able to get the latest DateTime in my list with max (from dart:math).
While I do grant that .isBefore()
and .isAfter()
are normally more readable, they aren't as easy to use with existing functionality like max
and him
so it would be useful to have the syntax for both.