staticInvokeType property

DartType? staticInvokeType

Return the function type of the invocation based on the static type information, or null if the AST structure has not been resolved, or if the invoke could not be resolved.

This will usually be a FunctionType, but it can also be dynamic or Function. In the case of interface types that have a call method, we store the type of that call method here as parameterized.

Implementation

DartType? get staticInvokeType;