CubosListExtensions extension

on

Properties

lastIndex int
Returns the last index integer. If the list is empty, returns -1.
no setter

Methods

copyOf(int newSize) List
Returns new array which is a copy of the original array, resized to the given newSize. he copy is either truncated or padded at the end with zero values if necessary.
removeLastWhere(bool test(dynamic it)) → void
Removes last object from this list that satisfy test.