callMethod abstract method

dynamic callMethod(
  1. Object o,
  2. String method,
  3. List<Object?> args
)

Use JS utils to call a method of a js object.

Note that null in dart is not the same as undefined/ missing in js.

Implementation

dynamic callMethod(
    final Object o, final String method, final List<Object?> args);