analysisOptionsFromFile function
Implementation
AnalysisOptions analysisOptionsFromFile(
File? options,
AnalysisContext context,
) =>
options != null && options.existsSync()
? AnalysisOptions(
options.path,
_loadConfigFromYamlFile(
options,
context.currentSession.uriConverter,
),
)
: const AnalysisOptions(null, {});