readDateTimeSeconds function

DateTime readDateTimeSeconds(
  1. int seconds
)

Implementation

DateTime readDateTimeSeconds(int seconds) =>
    DateTime.fromMillisecondsSinceEpoch(
      seconds * Duration.millisecondsPerSecond,
      isUtc: true,
    );