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.
No comments:
Post a Comment