copyPropertyNames method

JSPropertyNameArray copyPropertyNames({
  1. bool autoDispose = true,
})

Gets the names of an object's enumerable properties.

Implementation

JSPropertyNameArray copyPropertyNames({bool autoDispose = true}) {
  return JSPropertyNameArray(
    JSObjectCopyPropertyNames(context.ref, _ref),
    autoDispose: autoDispose,
  );
}