Wednesday, 17 April 2013

Goodbye InvocationMirror, Hello Invocation

TL;DR: We added a class Symbol to dart:core, renamed the class InvocationMirror to Invocation (keeping it in dart:core ), and moved Invoke.invokeOn to InstanceMirror.delegate (moving this functionality from dart:core to dart:mirrors ). Furthermore, Function.apply and InstanceMirror.invoke take a Map to represent named arguments. Finally, dart:mirror uses Symbol instead of String to represent names.
crawled from : Dartlang

No comments:

Post a Comment