atDate method

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

Generates a Cron expression to be played at only exact time

Implementation

String atDate({required DateTime referenceDateTime}) {
  return DateFormat('s m H d M ? y').format(referenceDateTime);
}