Instant.fromEpochSeconds constructor

Instant.fromEpochSeconds(
  1. int seconds
)

note: these are much faster than calling Instant.epochTime

Implementation

factory Instant.fromEpochSeconds(int seconds) => Instant.epochTime(ITime.trusted(seconds * TimeConstants.millisecondsPerSecond));