operator property Null safety

Token? operator

Return the operator that separates the target from the method name, or null if there is no target.

In an ordinary method invocation this will be period ('.'). In a cascade section this will be the cascade operator ('..').

Implementation

Token? get operator;
void operator=(Token? token)
@Deprecated('Clients should not build AST manually')

Set the operator that separates the target from the method name to the given token.

Implementation

@Deprecated('Clients should not build AST manually')
set operator(Token? token);