close method
void
close()
Stops the cron job and cleans up resources.
This method changes the cron status to CronStatus.stoped and closes the internal Cron
instance.
Implementation
void close() {
_cron.close();
_status = CronStatus.stoped;
}