max static method

Instant max(
  1. Instant x,
  2. Instant y
)

Implementation

static Instant max(Instant x, Instant y) => x > y ? x : y;