getNameAtIndex method

String getNameAtIndex(
  1. int index
)

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.

Implementation

String getNameAtIndex(int index) {
  return JSString(JSPropertyNameArrayGetNameAtIndex(_ref, index)).string!;
}