returnType property Null safety
Return the return type of the function type being defined, or null
if
no return type was given.
Implementation
TypeAnnotation? get returnType;
@Deprecated('Clients should not build AST manually')
Set the return type of the function type being defined to the giventype
.
Implementation
@Deprecated('Clients should not build AST manually')
set returnType(TypeAnnotation? type);