JSClass class

A JavaScript class. Used with JSObjectMake to construct objects with custom behavior.

Constructors

JSClass(Pointer<NativeType> pointer)
JSClass.create(JSClassDefinition definition)
Creates a JavaScript class suitable for use with JSObjectMake. definition (JSClassDefinition*) A JSClassDefinition that defines the class.

Properties

hashCode int
The hash code for this object.
no setterinherited
pointer Pointer<NativeType>
C pointer
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
Releases a JavaScript class.
retain() → void
Retains a JavaScript class.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited