How to call a JavaScript function named `call` from dart How to call a JavaScript function named `call` from dart dart dart

How to call a JavaScript function named `call` from dart


You can prefix call with JS$:

@JS()class SomethingFancy {  external String JS$call();}

JS$ can be used as prefix to allow to access to JS names that conflicts with dart keywords.