parameterValue method
Implementation
AstNode parameterValue() {
if (match([TokenType.leftParen])) {
return anonymousFunction();
}
if (match([TokenType.flutterParam])) {
return flutterParameter();
}
return expression();
}
AstNode parameterValue() {
if (match([TokenType.leftParen])) {
return anonymousFunction();
}
if (match([TokenType.flutterParam])) {
return flutterParameter();
}
return expression();
}