toFunctionValue method Null safety

ExecutableElement? toFunctionValue()

Return an element corresponding to the value of the object being represented, or null if

  • this object is not of a function type,
  • the value of the object being represented is not known, or
  • the value of the object being represented is null.

Implementation

ExecutableElement? toFunctionValue();