callMethod method

Future<PyObjectWrapper> callMethod({
  1. required String methodName,
  2. required List<PyArgument> args,
})
override

调用对象的方法 Python: self.method_name(*args)

Implementation

Future<PyObjectWrapper> callMethod(
        {required String methodName, required List<PyArgument> args}) =>
    RustLib.instance.api.crateApiPythonPyObjectWrapperCallMethod(
        that: this, methodName: methodName, args: args);