length property
The number of elements in this array. Must be implemented by subclasses to call the appropriate spine_array_*_get_size
Implementation
@override
int get length;
Sets the length of the list. For read-only arrays, this will throw an UnsupportedError. Must be implemented by subclasses that support modification.
Implementation
@override
set length(int newLength) {
throw UnsupportedError('This array is read-only');
}