weekendDay method

String weekendDay({
  1. required DateTime referenceDateTime,
})

Generates a Cron expression to be played only on weekend days from now

Implementation

String weekendDay({required DateTime referenceDateTime}) {
  return '${DateFormat('s m H ? * ').format(referenceDateTime)}$SAT,$SUN *';
}