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-onlyinherited
message String
A message describing the exception.
read-onlyinherited
offset int?
The offset in source where the error was detected.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
source String
The actual source input which caused the error.
read-onlyoverride
sourceUrl Uri?
The URL of the source file being parsed.
read-only
span SourceSpan?
The span associated with this exception.
read-onlyinherited

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