max static method
Returns the greater offset of the given two, i.e. the one which will give a later local time when added to an instant.
x
: The first offsety
: The second offset
Returns: The greater offset of x
and y
.
Implementation
static Offset max(Offset x, Offset y) => x > y ? x : y;