returnType property

  1. @override
TypeAnnotationImpl? returnType
override

Return the return type of the function, or null if no return type was declared.

Implementation

@override
TypeAnnotationImpl? get returnType => _returnType;
void returnType=(TypeAnnotationImpl? type)

Implementation

set returnType(TypeAnnotationImpl? type) {
  _returnType = _becomeParentOf(type as TypeAnnotationImpl);
}