executableDirOf function

String executableDirOf([
  1. String? executable
])

The directory of executable — by default Platform.resolvedExecutable, the running app.

Implementation

String executableDirOf([String? executable]) =>
    File(executable ?? Platform.resolvedExecutable).parent.path;