pathEntries property

List<String> get pathEntries

The PATH entries, in order.

Implementation

List<String> get pathEntries => (environmentValue('PATH') ?? '')
    .split(pathSeparator)
    .where((entry) => entry.isNotEmpty)
    .toList();