invoke method
Calls the exported function name; the result follows the JavaScript
convention (null, the single value, or a list for several results).
Implementation
Future<Object?> invoke(String name, [List<Object?> arguments = const []]) async =>
(await _request('invoke', {'name': name, 'args': arguments}))['value'];