getCronFilePath function

String getCronFilePath({
  1. String? dir,
})

Path to the cron file. dir defaults to the project root.

Implementation

String getCronFilePath({String? dir}) {
  final base = dir ?? Directory.current.path;
  return p.join(base, _cronFileRel);
}