JSPropertyNameArray class
An array of JavaScript property names.
- Implemented types
- Mixed-in types
-
- AutoDisposeFinalizer
Constructors
- JSPropertyNameArray.new(JSPropertyNameArrayRef _ref, {bool autoDispose = true})
Properties
- count → int
-
Gets a count of the number of items in a JavaScript property name array.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- nativeFinalizer ↔ NativeFinalizer?
-
dart 对象回收器
getter/setter pairinherited
- ref → JSPropertyNameArrayRef
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attach(
Pointer< NativeFinalizerFunction> callback, Pointer<Void> token, {bool autoDispose = true, Object? detach, int? externalSize}) → dynamic -
将引擎持有的指针和 dart 对象回收器绑定。确保 dart 对象销毁的时候,释放引擎持有的指针和资源
inherited
-
detach(
) → dynamic -
将引擎持有的指针和资源释放
inherited
-
free(
) → void - Releases a JavaScript property name array.
-
getNameAtIndex(
int index) → String -
Gets a property name at a given index in a JavaScript property name array.
index
(size_t) The index of the property name to retrieve. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retain(
) → JSPropertyNameArray - Retains a JavaScript property name array.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited