callMethod function

dynamic callMethod (dynamic o, String method, List args)

Implementation

callMethod(o, String method, List args) =>
    JS('Object|Null', '#[#].apply(#, #)', o, method, o, args);