frontend: Update invokeMethod to use function pointers
frontend: Update invokeMethod to use function pointers: a task in Trending-SWE1.0 (Harbor dataset). Title: frontend: Update invokeMethod to use function pointers
The task
**Title:** frontend: Update invokeMethod to use function pointers
Part of scalingX/Trending-SWE1.0.