returnType property

  1. @override
TypeAnnotationImpl? returnType
override

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

Implementation

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

Implementation

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