nameSpan property Null safety

FileSpan nameSpan
override

The span containing this declaration's name.

This includes the $ for variables.

Implementation

FileSpan get nameSpan => span.initialIdentifier(includeLeading: 1);