FormatterException class

Thrown when one or more errors occurs while parsing the code to be formatted.

Implemented types

Constructors

FormatterException(List<AnalysisError> errors)
Creates a new FormatterException with an optional error message.
const

Properties

errors List<AnalysisError>
The AnalysisErrors that occurred.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

message({bool? color}) String
Creates a human-friendly representation of the analysis errors.
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