call method
Calls a remote function with the supplied arguments. @name The name of the Atlas function to call. @functionArgs - Arguments that will be sent to the Atlas function. They have to be json serializable values.
Implementation
Future<dynamic> call(String name, [List<Object?> functionArgs = const []]) async {
_user._ensureLoggedIn('call Atlas function');
final args = jsonEncode(functionArgs);
final response = await _user.app.handle.callAppFunction(_user.handle, name, args);
return jsonDecode(response);
}