How do I get a MethodMirror for the current function

Issue Say I have class RestSimulator { @Path(“/var”) void functionOne() { final Type type = this.runtimeType; final InstanceMirror instanceMirror = reflect(this); final ClassMirror classMirror = instanceMirror.type; final MethodMirror methodMirror = ????? var metadata = methodMirror.metadata; var path = metadata.first.reflectee; print(path.toString()):

Continue reading