invokeBindingMethodAsync function

dynamic invokeBindingMethodAsync(
  1. BindingObject bindingObject,
  2. List args, {
  3. BindingOpItem? profileOp,
})

Implementation

dynamic invokeBindingMethodAsync(BindingObject bindingObject, List<dynamic> args, { BindingOpItem? profileOp }) {
  if (enableWebFCommandLog) {
    print('$bindingObject invokeBindingMethodSync method: ${args[0]} args: ${args.slice(1)}');
  }
  return (bindingObject as DynamicBindingObject)._invokeBindingMethodAsync(args[0], args.slice(1));
}