callMethod method

dynamic callMethod(
  1. String method, [
  2. List? arguments
])
override

Implementation

dynamic callMethod(String method, [List<dynamic>? arguments]) {
  final result = this.jsObject.callMethod(
      method,
      arguments?.map((e) {
        return transformToBrowserJSObject(e);
      }).toList());
  return transformToMPJSObject(result);
}