nameString property

String? get nameString

Implementation

String? get nameString => key is Name
    ? (key as Name).value
    : (key as LiteralExpression).value.toString();