SassFormatException class Null safety Parsing

An exception thrown when Sass parsing has failed.

Inheritance
Implemented types
Annotations

Constructors

SassFormatException(String message, FileSpan span)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
message String
A message describing the exception.
read-only, inherited
offset int
The offset in source where the error was detected. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
source String
The actual source input which caused the error. [...]
read-only, override
span FileSpan
The span associated with this exception. [...]
read-only, inherited
trace Trace
The Sass stack trace at the point this exception was thrown. [...]
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toCssString() String
Returns the contents of a CSS stylesheet that will display this error message above the current page.
inherited
toString({Object? color}) String
Returns a string representation of this. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited