analyzer package
documentation
element
VariableElement
isConstantEvaluated property
isConstantEvaluated
isConstantEvaluated
property
Null safety
bool
isConstantEvaluated
inherited
Return whether this constant is evaluated.
Implementation
bool get isConstantEvaluated;
analyzer package
documentation
element
VariableElement
isConstantEvaluated property
VariableElement class
Constructors
VariableElement
Properties
context
declaration
displayName
documentationComment
enclosingElement
hasAlwaysThrows
hasDeprecated
hasDoNotStore
hasFactory
hashCode
hasImplicitType
hasInternal
hasIsTest
hasIsTestGroup
hasJS
hasLiteral
hasMustCallSuper
hasNonVirtual
hasOptionalTypeArgs
hasOverride
hasProtected
hasRequired
hasSealed
hasUseResult
hasVisibleForOverriding
hasVisibleForTemplate
hasVisibleForTesting
id
isConst
isConstantEvaluated
isFinal
isLate
isPrivate
isPublic
isStatic
isSynthetic
kind
library
librarySource
location
metadata
name
nameLength
nameOffset
nonSynthetic
runtimeType
session
source
type
Methods
accept
computeConstantValue
getDisplayString
getExtendedDisplayName
isAccessibleIn
noSuchMethod
thisOrAncestorMatching
thisOrAncestorOfType
toString
visitChildren
Operators
operator ==