expiryToDateTime static method

DateTime expiryToDateTime(
  1. int expiry
)

Implementation

static DateTime expiryToDateTime(int expiry) {
  final milliseconds = expiry * 1000;
  return DateTime.fromMillisecondsSinceEpoch(milliseconds);
}