prototype property
JSValue
get
prototype
Gets an object's prototype.
Implementation
JSValue get prototype {
return JSValue(context, JSObjectGetPrototype(context.ref, _ref));
}
set
prototype
(JSValue value)
Sets an object's prototype.
value
(JSValueRef) A JSValue to set as the object's prototype.
Implementation
set prototype(JSValue value) {
JSObjectSetPrototype(context.ref, _ref, value.ref);
}