analyze static method
Implementation
static void analyze(fileOrPaths,
{Directory? packageRoot, bool fatalWarnings = false}) {
runlib.run(sdkBin('dart'), arguments: [
'analyze',
if (packageRoot != null) '--package-root=${packageRoot.path}',
if (fatalWarnings) '--fatal-warnings',
fileOrPaths
]);
}