functionType property
The type of function being defined by the alias.
If the non-function type aliases feature is enabled, a type alias may have
a _type
which is not a GenericFunctionTypeImpl. In that case null
is returned.
Implementation
@override
GenericFunctionType? get functionType {
var type = _type;
return type is GenericFunctionTypeImpl ? type : null;
}
Implementation
set functionType(GenericFunctionType? functionType) {
_type = _becomeParentOf(functionType as GenericFunctionTypeImpl?)!;
}