ErrorType class
The type of an ErrorCode.
- Implemented types
Constructors
Properties
- displayName → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
The name of this error type.
final
- ordinal → int
-
The ordinal value of the error type.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → ErrorSeverity
-
The severity of this type of error.
final
Methods
-
compareTo(
ErrorType other) → int -
Compares this object to another object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CHECKED_MODE_COMPILE_TIME_ERROR → const ErrorType
- Checked mode compile-time errors are errors that preclude execution in checked mode.
- COMPILE_TIME_ERROR → const ErrorType
- Compile-time errors are errors that preclude execution. A compile time error must be reported by a Dart compiler before the erroneous code is executed.
- HINT → const ErrorType
- Extra analysis run over the code to follow best practices, which are not in the Dart Language Specification.
- LINT → const ErrorType
- Lint warnings describe style and best practice recommendations that can be used to formalize a project's style guidelines.
- STATIC_TYPE_WARNING → const ErrorType
- Many, but not all, static warnings relate to types, in which case they are known as static type warnings.
- STATIC_WARNING → const ErrorType
- Static warnings are those warnings reported by the static checker. They have no effect on execution. Static warnings must be provided by Dart compilers used during development.
- SYNTACTIC_ERROR → const ErrorType
- Syntactic errors are errors produced as a result of input that does not conform to the grammar.
- TODO → const ErrorType
- Task (todo) comments in user code.
-
values
→ const List<
ErrorType>