HTExternalFunction typedef

HTExternalFunction = dynamic Function(HTEntity entity, {Map<String, dynamic> namedArgs, List positionalArgs, List<HTType> typeArgs})

Typedef of external function for binding. Can be used on normal external function or external method of a script class, The first argument could be a instance like HTInstance or HTStruct, or a HTNamespace of the function's closure when called.

Implementation

typedef HTExternalFunction = dynamic Function(HTEntity entity,
    {List<dynamic> positionalArgs,
    Map<String, dynamic> namedArgs,
    List<HTType> typeArgs});