initializer property

  1. @override
ExpressionImpl? get initializer
inherited

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

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

Implementation

@override
ExpressionImpl? get initializer {
  return constantInitializer;
}