- Inheritance
- Object
- DartHtmlDomObject
- LengthList
- Implements
- Mixes-in
- Annotations
- DocsEditable()
- DomName('SVGLengthList')
- Unstable()
Static Methods
Constructors
Properties
- blink_jsObject → JsObject
-
The underlying JS DOM object.
read / write, inherited - first → Length
-
read-only
- hashCode → int
-
read-only
- isEmpty → bool
-
read-only, inherited
- isNotEmpty → bool
-
read-only, inherited
- iterator → Iterator<Length>
-
read-only, inherited
- last → Length
-
read-only
- length → int
-
read / write
- numberOfItems → int
-
read-only
- reversed → Iterable<Length>
-
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - single → Length
-
read-only
Operators
-
operator ==(
other) → bool -
The equality operator.…
-
operator [](
int index) → Length -
Returns the object at the given
indexin the list or throws aRangeErrorifindexis out of bounds. -
operator []=(
int index, Length value) → void -
Sets the value at the given
indexin the list tovalueor throws aRangeErrorifindexis out of bounds.
Methods
-
add(
Length value) → void -
Adds
valueto the end of this list, extending the length by one.…inherited -
addAll(
Iterable<Length> iterable) → void -
Appends all objects of
iterableto the end of this list.…inherited -
any(
test(E element)) → bool -
Checks whether any element of this iterable satisfies
test.…inherited -
appendItem(
Length item) → Length -
asMap(
) → Map<int, Length> -
Returns an unmodifiable
Mapview ofthis.…inherited -
clear(
) → void -
Removes all objects from this list; the length of the list becomes zero.…
-
contains(
Object element) → bool -
Returns true if the collection contains an element equal to
element.…inherited -
elementAt(
int index) → Length -
Returns the
indexth element.… -
every(
test(E element)) → bool -
Checks whether every element of this iterable satisfies
test.…inherited -
expand(
f(E element)) → Iterable -
Expands each element of this
Iterableinto zero or more elements.…inherited -
fillRange(
int start, int end, [Length fillValue]) → void -
Sets the objects in the range
startinclusive toendexclusive to the givenfillValue.…inherited -
firstWhere(
test(E element), { orElse()}) → Length -
Returns the first element that satisfies the given predicate
test.…inherited -
fold(
initialValue, combine(previousValue, E element)) → dynamic -
Reduces a collection to a single value by iteratively combining each element of the collection with an existing value…
inherited -
forEach(
action(E element)) → void -
Applies the function
fto each element of this collection in iteration order.inherited -
getItem(
int index) → Length -
getRange(
int start, int end) → Iterable<Length> -
Returns an
Iterablethat iterates over the objects in the rangestartinclusive toendexclusive.…inherited -
indexOf(
Object element, [int startIndex = 0]) → int -
Returns the first index of
elementin this list.…inherited -
initialize(
Length item) → Length -
insert(
int index, Length element) → void -
Inserts the object at position
indexin this list.…inherited -
insertAll(
int index, Iterable<Length> iterable) → void -
Inserts all objects of
iterableat positionindexin this list.…inherited -
insertItemBefore(
Length item, int index) → Length -
join(
[String separator = ""]) → String -
Converts each element to a
Stringand concatenates the strings.…inherited -
lastIndexOf(
Object element, [int startIndex]) → int -
Returns the last index in the list
aof the givenelement, starting the search at indexstartIndexto 0. Returns -1 ifelementis not found.inherited -
lastWhere(
test(E element), { orElse()}) → Length -
Returns the last element that satisfies the given predicate
test.…inherited -
map(
f(E element)) → Iterable -
Returns a new lazy
Iterablewith elements that are created by callingfon each element of thisIterablein iteration order.…inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.…
inherited -
reduce(
combine(E previousValue, E element)) → Length -
Reduces a collection to a single value by iteratively combining elements of the collection using the provided function.…
inherited -
remove(
Object object) → bool -
Removes the first occurence of
valuefrom this list.…inherited -
removeAt(
int pos) → Length -
Removes the object at position
indexfrom this list.…inherited -
removeItem(
int index) → Length -
removeLast(
) → Length -
Pops and returns the last object in this list.…
inherited -
removeRange(
int start, int end) → void -
Removes the objects in the range
startinclusive toendexclusive.…inherited -
removeWhere(
test(E element)) → void -
Removes all objects from this list that satisfy
test.…inherited -
replaceItem(
Length item, int index) → Length -
replaceRange(
int start, int end, Iterable<Length> iterable) → void -
Removes the objects in the range
startinclusive toendexclusive and inserts the contents ofreplacementin its place.…inherited -
retainWhere(
test(E element)) → void -
Removes all objects from this list that fail to satisfy
test.…inherited -
setAll(
int index, Iterable<Length> iterable) → void -
Overwrites objects of
thiswith the objects ofiterable, starting at positionindexin this list.…inherited -
setRange(
int start, int end, Iterable<Length> iterable, [int skipCount = 0]) → void -
Copies the objects of
iterable, skippingskipCountobjects first, into the rangestart, inclusive, toend, exclusive, of the list.…inherited -
shuffle(
[Random random]) → void -
Shuffles the elements of this list randomly.
inherited -
singleWhere(
test(E element)) → Length -
Returns the single element that satisfies
test.…inherited -
skip(
int count) → Iterable<Length> -
Returns an Iterable that provides all but the first
countelements.…inherited -
skipWhile(
test(E element)) → Iterable<Length> -
Returns an Iterable that skips leading elements while
testis satisfied.…inherited -
sort(
[ compare(E a, E b)]) → void -
Sorts this list according to the order specified by the
comparefunction.…inherited -
sublist(
int start, [int end]) → List<Length> -
Returns a new list containing the objects from
startinclusive toendexclusive.…inherited -
take(
int count) → Iterable<Length> -
Returns a lazy iterable of the
countfirst elements of this iterable.…inherited -
takeWhile(
test(E element)) → Iterable<Length> -
Returns a lazy iterable of the leading elements satisfying
test.…inherited -
toList(
{bool growable: true}) → List<Length> -
Creates a
Listcontaining the elements of thisIterable.…inherited -
toSet(
) → Set<Length> -
Creates a
Setcontaining the same elements as this iterable.…inherited -
toString(
) → String -
Returns a string representation of this object.
inherited -
where(
test(E element)) → Iterable<Length> -
Returns a new lazy
Iterablewith all elements that satisfy the predicatetest.…inherited