LuaEnumInfo class

Data models for the Lua plugin code generator. Host Dart enum exposed to Lua (enums.<luaName>.member + string union type).

Constructors

LuaEnumInfo({required String dartName, required String luaName, required List<String> values, required String sourceFile})
const

Properties

dartName → String
Dart enum type name (e.g. TextSize).
final
hashCode → int
The hash code for this object.
no setterinherited
luaName → String
Lua type / enums table key (from @LuaEnum(name:) or dartName).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceFile → String
final
values → List<String>
Wire / member names (Dart enum constant names).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited