returnType property

Identifier returnType

Return the type of object being created.

This can be different than the type in which the constructor is being declared if the constructor is the implementation of a factory constructor.

Implementation

Identifier get returnType;
void returnType=(Identifier typeName)

Set the type of object being created to the given typeName.

Implementation

set returnType(Identifier typeName);