NotificationAndroidCrontab.workweekDay constructor
NotificationAndroidCrontab.workweekDay({})
Generates a Cron expression to be played only on workweek days based on a date reference
Implementation
NotificationAndroidCrontab.workweekDay(
{required DateTime referenceDateTime, bool allowWhileIdle = false})
: super(
timeZone: referenceDateTime.isUtc
? LocalNotifications.utcTimeZoneIdentifier
: LocalNotifications.localTimeZoneIdentifier,
allowWhileIdle: allowWhileIdle,
repeats: false) {
_crontabExpression =
CronHelper().monthly(referenceDateTime: referenceDateTime);
}