initializer property

FunctionElement initializer

Return a synthetic function representing this variable's initializer, or null if this variable does not have an initializer. The function will have no parameters. The return type of the function will be the compile-time type of the initialization expression.

Implementation

FunctionElement get initializer;