AnnotationParser class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Static Methods
-
closureParamError({required String className, required String paramName, required String dartType})
→ String
-
Error text when a
@LuaWidget param is a Dart function/closure.
-
isEventPayloadMapDisplay(String dartType)
→ bool
-
Display-string check for event payload maps (
Map<String,…> / LuaEventPayload).
-
isUnsupportedClosureType({required String dartType, required bool isFunctionType, required bool isTypedefToFunction})
→ bool
-
Whether
dartType / flags represent an unsupported Dart callable.
-
luaCallbackNonMapError({required String className, required String paramName, required String dartType})
→ String
-
Error text when
@LuaCallback is applied to a non-map type.
-
validateCallbackParam({required String className, required String paramName, required String dartType, required bool isFunctionType, required bool isTypedefToFunction, String? annotationKind, required bool isEventPayloadMap})
→ void
-
Validates callback-related ctor params; throws LuaWidgetCodegenException.