Synchronous Dart function that can be called from Lua. Returns the number of values pushed onto the Lua stack.
typedef DartFunction = int Function(LuaState ls);