What is a good way to create a dart wrapper for a Javascript API? What is a good way to create a dart wrapper for a Javascript API? dart dart

What is a good way to create a dart wrapper for a Javascript API?


You can use the Proxy class for this. There is a good article explaining how this works at http://www.dartlang.org/articles/js-dart-interop/