functionCall static method
Build a javascript function which will be called.
name
is the name of the function.
args
are the arguments passed to the function.
Implementation
static String functionCall({required String name, List<String> args = const []}) =>
"$name(${args.join(",")});";