JSStaticValue class

struct JSStaticValue This structure describes a statically declared value property.

Inheritance

Constructors

JSStaticValue()

Properties

attributes int
(unsigned) A logically ORed set of JSPropertyAttributes to give to the property.
getter/setter pair
getProperty Pointer<NativeFunction<JSObjectGetPropertyCallback>>
(JSObjectGetPropertyCallback) A JSObjectGetPropertyCallback to invoke when getting the property's value.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name Pointer<Utf8>
(const char* ) A null-terminated UTF8 string containing the property's name.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setProperty Pointer<NativeFunction<JSObjectSetPropertyCallback>>
(JSObjectSetPropertyCallback) A JSObjectSetPropertyCallback to invoke when setting the property's value. May be NULL if the ReadOnly attribute is set.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setValue(JSStaticValueStruct struct) → void
toString() String
A string representation of this object.
inherited

Operators

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