debugCheckIsValidTimetableDate method
Implementation
bool debugCheckIsValidTimetableDate() {
if (kDebugMode) {
if (isValidTimetableDate) return true;
throw FlutterError.fromParts([
ErrorSummary('Invalid date for timetable: `$this`'),
..._dateExplanation,
]);
}
return true;
}