pointSpan method Null safety

SourceSpan pointSpan()

Returns a span that covers only a single point: this location.

Implementation

SourceSpan pointSpan() => SourceSpan(this, this, '');