isValid property

bool isValid

Check if TimeRange is valid

Implementation

bool get isValid {
  return end.isAfter(start);
}