MethodCallable.init constructor
MethodCallable.init(
- InstanceMirror instance,
- MethodMirror _callable, {
- bool catchError = false,
Implementation
MethodCallable.init(this.instance, this._callable,
{this.catchError = false}) {
_callable.parameters.forEach((p) {
final name = MirrorSystem.getName(p.simpleName);
final type = MirrorSystem.getName(p.type.simpleName);
arguments.add(new Argument(name, p.simpleName, type, p.type.simpleName));
});
}