toLua method

LuaObject toLua(
  1. String id
)

A new LuaObject.variable instance is returned whose variable name in scope is id.

Implementation

LuaObject toLua(String id) => LuaObject.variable(id, this);