Optionallist: T[]Optionalindex: numberOptionalclone: booleanThe list to take the item out of.
The position to remove, counting from 0 at the start, or from 0 at the end for the from-end method; outside the list nothing is removed.
OptionalcloneWhen true, the list is deep-copied first so the input is never changed; when false the item is removed in place.
A list and a position for
lists.removeItemAtIndexandlists.removeItemAtIndexFromEnd.