JSCFunctionListEntry.defAlias constructor
JSCFunctionListEntry.defAlias(})
Implementation
factory JSCFunctionListEntry.defAlias(
JSContext ctx,
String name,
String from, {
bool autoDispose = true,
}) {
return JSCFunctionListEntry._(
ctx,
name: name,
propFlags: JSProp.WRITABLE | JSProp.CONFIGURABLE,
defType: JSDef.ALIAS,
magic: 0,
union: JSCFuntionListEntryUnion(
alias: JSCFunctionListEntryAlias(from, -1),
),
autoDispose: autoDispose,
);
}