LintOptions class

Option information for a specific LintRule.

Annotations
  • @immutable

Constructors

LintOptions.empty({required bool enabled})
Options with no json
const
LintOptions.fromYaml(Map<String, Object?> yaml, {required bool enabled})
Creates a LintOptions from YAML.
const

Properties

enabled bool
Whether the configuration enables/disables the lint rule.
final
hashCode int
The hash code for this object.
no setteroverride
json Map<String, Object?>
Extra configurations for a LintRule.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override