The directory of executable — by default Platform.resolvedExecutable, the running app.
executable
Platform.resolvedExecutable
String executableDirOf([String? executable]) => File(executable ?? Platform.resolvedExecutable).parent.path;