originalName property
String
get
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 =>
defaultValue == null ? span.text : declarationName(span);