pathEntries property
The entries of PATH, in order; empty when there is none.
Implementation
@override
List<String> get pathEntries {
final path = Platform.environment['PATH'];
if (path == null || path.isEmpty) return const [];
return path.split(Platform.isWindows ? ';' : ':');
}