getPart method

MutablePart getPart({
  1. required int index,
})

Returns a part at the specified index in the collection.

Parameters:

  • index — The position in the collection.

Return Value: The part at the specified position in the collection.