toRef method

LuaObject toRef()

Creates and returns a LuaObject.ref instance of itself.

Implementation

LuaObject toRef() => LuaObject.ref(this);