analysisOptionsFromFile function

Future<AnalysisOptions> analysisOptionsFromFile(
  1. File? options
)

Implementation

Future<AnalysisOptions> analysisOptionsFromFile(File? options) async =>
    options != null && options.existsSync()
        ? AnalysisOptions(await _loadConfigFromYamlFile(options))
        : const AnalysisOptions({});