external/external_function library
Typedefs
-
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.
- HTExternalFunctionTypedef = Function Function(HTFunction hetuFunction)
- Accept a hetu function object, then return a dart function for use in Dart code. This is for usage where you want to write a function in script. and want to pass it to a external dart function where it accepts only a pure Dart native function as parameter.
- HTExternalTypeReflection = String? Function(Object object)