JSStaticValue class
struct JSStaticValue This structure describes a statically declared value property.
- Inheritance
- Object
- NativeType
- Struct
- JSStaticValue
- Available Extensions
Constructors
-
JSStaticValue.allocate({@required Pointer<
Utf8> name, @required Pointer<NativeFunction< getProperty, @required Pointer<JSObjectGetPropertyCallback> >NativeFunction< setProperty, @required int attributes})JSObjectSetPropertyCallback> > -
factory
-
JSStaticValue.allocateArray(List<
JSStaticValueStruct> structList) -
factory
- JSStaticValue.fromAddress(int ptr)
-
factory
- JSStaticValue.fromStruct(JSStaticValueStruct struct)
-
factory
Properties
- attributes ↔ int
-
(unsigned) A logically ORed set of JSPropertyAttributes to give to the property.
@IntPtr(), read / write
-
getProperty
↔ Pointer<
NativeFunction< JSObjectGetPropertyCallback> > -
(JSObjectGetPropertyCallback) A JSObjectGetPropertyCallback to invoke when getting the property's value.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
name
↔ Pointer<
Utf8> -
(const char* ) A null-terminated UTF8 string containing the property's name.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
setProperty
↔ Pointer<
NativeFunction< JSObjectSetPropertyCallback> > -
(JSObjectSetPropertyCallback) A JSObjectSetPropertyCallback to invoke when setting the property's value. May be NULL if the ReadOnly attribute is set.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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
-
operator [](
int index) → JSStaticValue