In Javascript, one can use apply
to move arguments in bulk from one function to another? How is this done in Dart?
To use a mismatch of Dart and Javascript:
Object proxy(<any number and type of arguments>) {
if(feelGood)
return goodFunc.apply(arguments);
else
return badFunc.apply(arguments);
}
In Dart, how does one
specify any number and type of arguments?
apply the arguments from one function to another?