returnType property Null safety

TypeAnnotation? returnType

Return the return type of the function type being defined, or null if no return type was given.

Implementation

TypeAnnotation? get returnType;
void returnType=(TypeAnnotation? type)
@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);