span property Null safety

SourceSpan? span

The span associated with this exception.

This may be null if the source location can't be determined.

Implementation

SourceSpan? get span => _span;