JsFunction<T>.ins constructor
JsFunction<T>.ins (
- dynamic func(
- T obj,
- List argv
New a instance function
Implementation
JsFunction.ins(Function(T obj, List argv) func) : isStatic = false {
function = (obj, argv) => func(obj!, argv);
}