mirror_dispatcher library
Classes
- MirrorDispatcher
-
MirrorDispatcher implements
Dispatcher
by introspecting a class instance usingdart:mirrors
. dart:mirrors allows you to invoke an instance's methods by their string names.
Functions
-
getMethodMirror(
dynamic instanceMirror, String methodName) → Symbol - Find and return the method in the class of the mirror of the instance. Throw MethowNorFound if the methodName is private or an attribute or not found,