menu
dartbag package
documentation
collection.dart
InPlaceOperations extension
InPlaceOperations extension
dark_mode
light_mode
InPlaceOperations<
E
>
extension
Extension methods on
List
that do work in-place.
on
List
<
E
>
Methods
reverse
(
)
→ void
Reverses the
List
in-place.
rotateLeft
(
int
shiftAmount
, {
int
?
start
,
int
?
end
})
→ void
Rotates the
List
in-place in O(n) time and O(1) space.
dartbag package
documentation
collection
InPlaceOperations extension
collection library