SourceSpanException class Null safety

A class for exceptions that have source span information attached.

Implemented types
Implementers

Constructors

SourceSpanException(String _message, SourceSpan? _span)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
message String
A message describing the exception.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
span SourceSpan?
The span associated with this exception.
read-only

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.
override

Operators

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