StringScannerException class

An exception thrown by a StringScanner that failed to parse a string.

Inheritance

Constructors

StringScannerException(String message, SourceSpan span, String source)

Properties

source String
read-only
sourceUrl Uri
The URL of the source file being parsed. [...]
read-only
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, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
span SourceSpan
The span associated with this exception. [...]
read-only, inherited

Methods

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

Operators

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