invoke method
Future<InstanceRef?>
invoke(
- InstanceRef instanceRef,
- String name,
- List<
String> argRefs, { - required Disposable? isAlive,
- bool shouldLogError = true,
Implementation
Future<InstanceRef?> invoke(
InstanceRef instanceRef,
String name,
List<String> argRefs, {
required Disposable? isAlive,
bool shouldLogError = true,
}) {
return addRequest(
isAlive,
() => _invoke(
instanceRef,
name,
argRefs,
shouldLogError: shouldLogError,
).then((value) => value!),
);
}