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