callMethod function

dynamic callMethod (
  1. dynamic o,
  2. String method,
  3. List args
)

Implementation

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