TimeRange constructor
Implementation
TimeRange({
required this.startTimestamp,
required this.endTimestamp,
}) {
if (endTimestamp <= startTimestamp) {
throw InvalidValueException('Invalid TimeRange: endTimestamp '
'$endTimestamp is not after startTimestamp $startTimestamp');
}
}