length property
The number of objects in this list.
The valid indices for a list are 0
through length - 1
Implementation
@override
int get length {
assert(_debugAssertNotDisposed());
return _list!.length;
}
Changes the length of this list. Does not notify listeners.
If newLength
is greater than the current length, entries are initialized to null
.
Implementation
@override
set length(int newLength) {
assert(_debugAssertNotDisposed());
_list!.length = newLength;
}