defaultValue property Null safety

Expression? defaultValue

Return the expression computing the default value for the parameter, or null if there is no default value.

Implementation

Expression? get defaultValue;
void defaultValue=(Expression? expression)
@Deprecated('Clients should not build AST manually')

Set the expression computing the default value for the parameter to the given expression.

Implementation

@Deprecated('Clients should not build AST manually')
set defaultValue(Expression? expression);