AnalysisOptionsHintCode class

Inheritance

Constructors

AnalysisOptionsHintCode(String name, { String message, { String correction })
Initialize a newly created hint code to have the given name.
const

Properties

errorSeverity ErrorSeverity
The severity of the error.
read-only, override
type ErrorType
The type of the error.
read-only, override
correction → String
The template used to create the correction to be displayed for this error, or null if there is no correction information for this error. The correction should indicate how the user can fix the error.
final, inherited
hashCode → int
The hash code for this object.
read-only, inherited
hasPublishedDocs → bool
Return true if diagnostics with this code have documentation for them that has been published.
final, inherited
isUnresolvedIdentifier → bool
Whether this error is caused by an unresolved identifier.
final, inherited
message → String
The template used to create the message to be displayed for this error. The message should indicate what is wrong and why it is wrong.
final, inherited
name → String
The name of the error code.
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
uniqueName → String
The unique name of this error code.
read-only, inherited
url → String
Return a URL that can be used to access documentation for diagnostics with this code, or null if there is no published documentation.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Constants

DEPRECATED_ANALYSIS_OPTIONS_FILE_NAME → const AnalysisOptionsHintCode
An error code indicating the analysis options file name is deprecated and the file should be renamed. [...]
const AnalysisOptionsHintCode('DEPRECATED_ANALYSIS_OPTIONS_FILE_NAME', 'The name of the analysis options file {0} is deprecated;' ' consider renaming it to analysis_options.yaml.&#…
PREVIEW_DART_2_SETTING_DEPRECATED → const AnalysisOptionsHintCode
An error code indicating that the enablePreviewDart2 setting is deprecated.
const AnalysisOptionsHintCode('PREVIEW_DART_2_SETTING_DEPRECATED', 'The 'enablePreviewDart2' setting is deprecated.', correction: 'It is no longer necessary to explicitly e…
STRONG_MODE_SETTING_DEPRECATED → const AnalysisOptionsHintCode
An error code indicating that strong-mode: true is deprecated.
const AnalysisOptionsHintCode('STRONG_MODE_SETTING_DEPRECATED', 'The 'strong-mode: true' setting is deprecated.', correction: 'It is no longer necessary to explicitly enabl…
SUPER_MIXINS_SETTING_DEPRECATED → const AnalysisOptionsHintCode
An error code indicating that the enablePreviewDart2 setting is deprecated.
const AnalysisOptionsHintCode('SUPER_MIXINS_SETTING_DEPRECATED', 'The 'enableSuperMixins' setting is deprecated.', correction: 'Support has been added to the language for &…