LuaConstructorInfo class
One generative constructor exposed to Lua.
Constructors
-
LuaConstructorInfo({required String dartName, required String luaName, required List<
PropertyInfo> parameters}) -
const
Properties
- dartName → String
-
Dart constructor name; empty string = unnamed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isUnnamed → bool
-
no setter
- luaName → String
-
Lua entry name (
Text,Text_styled, …).final -
parameters
→ List<
PropertyInfo> -
Constructor parameters (Lua snapshot fields), in declaration order.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dartCall(
String className) → String -
Tear-off / call site:
LuaFooorLuaFoo.styled. -
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