JSStaticFunction class final

struct JSStaticFunction This structure describes a statically declared function property.

Inheritance
Implemented types
Available extensions

Constructors

JSStaticFunction()

Properties

attributes int
(unsigned) A logically ORed set of JSPropertyAttributes to give to the property.
getter/setter pair
callAsFunction Pointer<NativeFunction<JSObjectCallAsFunctionCallback>>
(JSObjectCallAsFunctionCallback) A JSObjectCallAsFunctionCallback to invoke when the property is called as a function.
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

Methods

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

Operators

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