WhichSearch class

Individual search result for a single PATH directory.

This class represents the result of searching a single directory in the PATH for the requested application.

Constructors

WhichSearch.found(String path, String? exePath)
Create a successful search result.
WhichSearch.notfound(String path)
Create a failed search result.

Properties

exePath String?
The full path to the executable if found.
getter/setter pair
found bool
Whether the application was found in this directory.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
path String
The PATH directory that was searched.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited