Checker constructor
Creates a checker; paths in results are shown relative to
workingDirectory (default: the current directory).
sdkPath is the Dart SDK used to resolve dart: libraries; by default
the analyzer finds the SDK of the running dart executable.
Implementation
Checker({String? workingDirectory, this.sdkPath})
: workingDirectory = p.normalize(
p.absolute(workingDirectory ?? Directory.current.path),
);