constantInitializer property

  1. @ToBeDeprecated('Use constantInitializer2 instead.')
Expression? get constantInitializer

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

Is null if this variable is not a constant, or does not have the initializer or the default value specified.

Implementation

@ToBeDeprecated('Use constantInitializer2 instead.')
Expression? get constantInitializer;