Expiry constructor

Expiry(
  1. int deltaInMSec
)

Implementation

Expiry(
  int deltaInMSec,
) : _value = (BigInt.from(DateTime.now().millisecondsSinceEpoch) +
              BigInt.from(deltaInMSec) -
              _replicaPermittedDriftMilliseconds) *
          _nanoSecondsPerMilliseconds;