returnType property Null safety

ElementType returnType
override

Implementation

@override
ElementType get returnType {
  _returnType ??=
      ElementType.from(type.returnType, library, packageGraph, this);
  return _returnType;
}