Instant.epochTime constructor

Instant.epochTime(
  1. Time time
)

Implementation

factory Instant.epochTime(Time time) {
  if (time < minValue.timeSinceEpoch) return IInstant.beforeMinValue;
  if (time > maxValue.timeSinceEpoch) return IInstant.afterMaxValue;
  return Instant._trusted(time);
}