JSStaticFunction class
struct JSStaticFunction This structure describes a statically declared function property.
- Inheritance
- Object
- NativeType
- Struct
- JSStaticFunction
Constructors
-
JSStaticFunction.allocate({@required Pointer<
Utf8> name, @required Pointer<NativeFunction< callAsFunction, @required int attributes})JSObjectCallAsFunctionCallback> > -
factory
-
JSStaticFunction.allocateArray(List<
JSStaticFunctionStruct> structList) -
factory
- JSStaticFunction.fromAddress(int ptr)
-
factory
- JSStaticFunction.fromStruct(JSStaticFunctionStruct struct)
-
factory
Properties
- attributes ↔ int
-
(unsigned) A logically ORed set of JSPropertyAttributes to give to the property.
@IntPtr(), read / write
-
callAsFunction
↔ Pointer<
NativeFunction< JSObjectCallAsFunctionCallback> > -
(JSObjectCallAsFunctionCallback) A JSObjectCallAsFunctionCallback to invoke when the property is called as a function.
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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setValue(
JSStaticFunctionStruct struct) → void -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
-
operator [](
int index) → JSStaticFunction