callModule method
Calls a function export from an ES module and converts its awaited result.
Implementation
Future<Object?> callModule(
String module,
String method,
List<Object?> args, {
Duration? timeout,
}) {
return _callModule(
module,
method,
args,
timeout: timeout,
name: 'module:$module:$method',
);
}