DifferencePerTimeUnit.betweenNowAndDate constructor
DifferencePerTimeUnit.betweenNowAndDate(
- DateTime expiryDate
Implementation
factory DifferencePerTimeUnit.betweenNowAndDate(DateTime expiryDate) {
return DifferencePerTimeUnit.betweenDateTimes(
start: DateTime.now(),
end: expiryDate,
);
}