How to call a JS function with the new js (0.6.0) package How to call a JS function with the new js (0.6.0) package dart dart

How to call a JS function with the new js (0.6.0) package


Works as expected.

I just had Dartium running during the Dart update and had still the old version running when I tried the example. After closing and reopening Dartium the code worked fine.