WhichSearch.found constructor

WhichSearch.found(
  1. String path,
  2. String? exePath
)

Create a successful search result.

Use this constructor when the application was found in the path directory. exePath should be the full path to the executable.

Implementation

WhichSearch.found(this.path, this.exePath) : found = true;