getInvokingClass method

  1. @override
Class getInvokingClass()
override

Returns the reflective Class that declares this handler.

This method allows the framework to introspect and identify which class or component owns the current handler, enabling dependency injection, logging, and annotation-based processing.

Implementation

@override
Class getInvokingClass() => definition.type;