LintOptions.fromYaml constructor

  1. @internal
const LintOptions.fromYaml(
  1. Map<String, Object?> yaml, {
  2. required bool enabled,
})

Creates a LintOptions from YAML.

Implementation

@internal
const LintOptions.fromYaml(Map<String, Object?> yaml, {required this.enabled})
    : json = yaml;