OnEvent typedef
OnEvent =
void Function(String path)
the function that happens on the file event
Implementation
typedef OnEvent = void Function(String path);
the function that happens on the file event
typedef OnEvent = void Function(String path);