Schedule.file constructor
Schedule.file(
- File? _file, {
- required Time ticks,
- ScheduleMode? mode,
You can use Schedule.file that requires a file instead to define both in one statement.
Implementation
Schedule.file(this._file, {required this.ticks, this.mode})
: assert(_file != null),
_name = _file!.path {
_file!.execute = true;
}