mirror_dispatcher library Null safety


MirrorDispatcher implements Dispatcher by introspecting a class instance using dart:mirrors. dart:mirrors allows you to invoke an instance's methods by their string names.


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,