expressionFunctionBody abstract method

  1. @Deprecated("Use expressionFunctionBody2, with new 'star' parameter")
ExpressionFunctionBody expressionFunctionBody(
  1. Token? keyword,
  2. Token functionDefinition,
  3. Expression expression,
  4. Token? semicolon,
)

Returns a newly created function body consisting of an expression. The keyword can be null if the function body is not an async function body.

Implementation

@Deprecated("Use expressionFunctionBody2, with new 'star' parameter")
ExpressionFunctionBody expressionFunctionBody(Token? keyword,
    Token functionDefinition, Expression expression, Token? semicolon);