createFunctionArg1 method
Implementation
Function createFunctionArg1(Function dartFunction) {
final funcId = dartFunction.hashCode.toString();
Context.functionMap[funcId] ??= (arg0) {
return JSObject.transformToBrowserJSObject(
dartFunction(JSObject.transformToMPJSObject(arg0)));
};
Context.functionArgsCount[funcId] = 1;
return Context.functionMap[funcId]!;
}