ConstantInitializer class abstract

The initializer of a constant variable, or the default value for a formal parameter.

Constructors

ConstantInitializer.new()

Properties

expression Expression
The expression of the initializer.
no setter
fragment VariableFragment
The VariableFragment that has expression.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

evaluate() DartObject?
Returns the result of evaluating expression, computes it if necessary.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited