factoryKeyword property Null safety

Token? factoryKeyword

Return the token for the 'factory' keyword, or null if the constructor is not a factory constructor.

Implementation

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

Set the token for the 'factory' keyword to the given token.

Implementation

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