path property

String? get path

The primary path where the application was found.

This is the first location found in the PATH search, which is the one the OS would use when executing the command.

Returns null if the application was not found.

See paths for all found locations.

Implementation

String? get path => _path;