StringScannerException class Null safety

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

Inheritance

Constructors

StringScannerException(String message, SourceSpan span, String source)

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, inherited
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
sourceUrl Uri?
The URL of the source file being parsed. [...]
read-only
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 ==(Object other) bool
The equality operator. [...]
inherited