FunctionRuntimeType.untyped constructor

FunctionRuntimeType.untyped()

A function type with no declared shape — used as the default for callables whose parameter/return annotations could not be resolved. It matches any other function type.

Implementation

factory FunctionRuntimeType.untyped() =>
    const FunctionRuntimeType(returnType: NamedRuntimeType('dynamic'));