executeFunction<T> method
Executes the backend function with the given functionName
the given
args
and returns a Future with the result.
For more information about backend functions in Squid, please refer to the documentation.
Implementation
Future<T> executeFunction<T>(FunctionName functionName,
{Iterable<dynamic> args = const []}) {
_validateNotDestructed();
return _backendFunctionManager
.executeFunctionAndSubscribe<T>(functionName, args)
.toFuture();
}