isValid property
Checks validity of DateTimeRange.
Implementation
bool get isValid => start != null && end != null && start!.compareTo(end!) <= 0;
Checks validity of DateTimeRange.
bool get isValid => start != null && end != null && start!.compareTo(end!) <= 0;