copyPropertyNames method
Gets the names of an object's enumerable properties.
Implementation
JSPropertyNameArray copyPropertyNames({bool autoDispose = true}) {
  return JSPropertyNameArray(
    JSObjectCopyPropertyNames(context.ref, _ref),
    autoDispose: autoDispose,
  );
}