- Reading item count via
length - 1-based indexed access (
list[1],list[2], …) - Mutations (
push,insert,swap,pop,shift,clear) - Change notifications via
addListenerandremoveListener
Fields
length
The current number of items in the list.
addListener
Adds a listener that is called when the list changes.
removeListener
Removes a previously added list-change listener.
Methods
push
insert
swap
index1 and index2.