redirectedConstructor property Null safety

ConstructorName? redirectedConstructor

Return the name of the constructor to which this constructor will be redirected, or null if this is not a redirecting factory constructor.

Implementation

ConstructorName? get redirectedConstructor;
void redirectedConstructor=(ConstructorName? redirectedConstructor)
@Deprecated('Clients should not build AST manually')

Set the name of the constructor to which this constructor will be redirected to the given redirectedConstructor name.

Implementation

@Deprecated('Clients should not build AST manually')
set redirectedConstructor(ConstructorName? redirectedConstructor);