validate method
Validates the crontab schedule settings.
Throws an AwesomeNotificationsException if both crontabExpression and preciseSchedules are null.
Implementation
@override
void validate() {
if (_crontabExpression == null && _preciseSchedules == null) {
throw const AwesomeNotificationsException(
message:
'At least crontabExpression or preciseSchedules is requried');
}
}