originalName property

String originalName

The variable name as written in the document, without underscores converted to hyphens and including the leading $.

This isn't particularly efficient, and should only be used for error messages.

Implementation

String get originalName => declarationName(span);