Tuple5<T0, T1, T2, T3, T4> class

A finite fixed-length ordered list containing 5 dynamically-typed elements.

Inheritance
Available extensions

Constructors

Tuple5(T0 item0, T1 item1, T2 item2, T3 item3, T4 item4)
Creates a tuple of length 5.
const
Tuple5.fromJson(Map<String, dynamic> map)
Creates an tuple from a map/JSON source.
factory
Tuple5.fromList(List list, [bool trim = false])
Creates an tuple from a list source.
factory
Tuple5.fromRecord((T0, T1, T2, T3, T4) record)
Creates a tuple from a record.
factory

Properties

average double

Available on Iterable<num>, provided by the IterableNumberExtension extension

The arithmetic mean of the elements of a non-empty iterable.
no setter
average double

Available on Iterable<int>, provided by the IterableIntegerExtension extension

The arithmetic mean of the elements of a non-empty iterable.
no setter
first → dynamic
The first element.
no setterinherited
firstOrNull → T?

Available on Iterable<T>, provided by the IterableExtensions extension

The first element of this iterator, or null if the iterable is empty.
no setter
firstOrNull → T?

Available on Iterable<T>, provided by the IterableExtension extension

The first element, or null if the iterable is empty.
no setter
flattened Iterable<T>

Available on Iterable<Iterable<T>>, provided by the IterableIterableExtension extension

The sequential elements of each iterable in this iterable.
no setter
flattenedToList List<T>

Available on Iterable<Iterable<T>>, provided by the IterableIterableExtension extension

The sequential elements of each iterable in this iterable.
no setter
flattenedToSet Set<T>

Available on Iterable<Iterable<T>>, provided by the IterableIterableExtension extension

The unique sequential elements of each iterable in this iterable.
no setter
frequencies Map<T, int>

Available on Iterable<T>, provided by the IterablesExtension extension

Returns a map that represents the frequency of each element in the list.
no setter
hashCode int
The hash code for this object.
no setteroverride
indexed Iterable<(int, T)>

Available on Iterable<T>, provided by the IterableExtensions extension

Pairs of elements of the indices and elements of this iterable.
no setter
isEmpty bool
Whether this collection has no elements.
no setterinherited
isNotEmpty bool
Whether this collection has at least one element.
no setterinherited
item0 → T0
final
item1 → T1
final
item2 → T2
final
item3 → T3
final
item4 → T4
final
iterator Iterator
A new Iterator that allows iterating the elements of this Iterable.
no setteroverride
last → dynamic
The last element.
no setterinherited
lastOrNull → T?

Available on Iterable<T>, provided by the IterableExtension extension

The last element, or null if the iterable is empty.
no setter
lastOrNull → T?

Available on Iterable<T>, provided by the IterableExtensions extension

The last element of this iterable, or null if the iterable is empty.
no setter
leastFrequent → T?

Available on Iterable<T>, provided by the IterablesExtension extension

Returns the least frequent element in the list.
no setter
length int
Returns the constant length of this tuple.
no setteroverride
max double

Available on Iterable<double>, provided by the IterableDoubleExtension extension

A maximal element of the iterable.
no setter
max → T

Available on Iterable<T>, provided by the IterableComparableExtension extension

A maximal element of the iterable.
no setter
max num

Available on Iterable<num>, provided by the IterableNumberExtension extension

A maximal element of the iterable.
no setter
max int

Available on Iterable<int>, provided by the IterableIntegerExtension extension

A maximal element of the iterable.
no setter
maxOrNull int?

Available on Iterable<int>, provided by the IterableIntegerExtension extension

A maximal element of the iterable, or null if the iterable is empty.
no setter
maxOrNull num?

Available on Iterable<num>, provided by the IterableNumberExtension extension

A maximal element of the iterable, or null if the iterable is empty.
no setter
maxOrNull double?

Available on Iterable<double>, provided by the IterableDoubleExtension extension

A maximal element of the iterable, or null if the iterable is empty.
no setter
maxOrNull → T?

Available on Iterable<T>, provided by the IterableComparableExtension extension

A maximal element of the iterable, or null if the iterable is empty.
no setter
min int

Available on Iterable<int>, provided by the IterableIntegerExtension extension

A minimal element of the iterable.
no setter
min double

Available on Iterable<double>, provided by the IterableDoubleExtension extension

A minimal element of the iterable.
no setter
min → T

Available on Iterable<T>, provided by the IterableComparableExtension extension

A minimal element of the iterable.
no setter
min num

Available on Iterable<num>, provided by the IterableNumberExtension extension

A minimal element of the iterable.
no setter
minOrNull double?

Available on Iterable<double>, provided by the IterableDoubleExtension extension

A minimal element of the iterable, or null it the iterable is empty.
no setter
minOrNull int?

Available on Iterable<int>, provided by the IterableIntegerExtension extension

A minimal element of the iterable, or null it the iterable is empty.
no setter
minOrNull → T?

Available on Iterable<T>, provided by the IterableComparableExtension extension

A minimal element of the iterable, or null it the iterable is empty.
no setter
minOrNull num?

Available on Iterable<num>, provided by the IterableNumberExtension extension

A minimal element of the iterable, or null it the iterable is empty.
no setter
mostFrequent → T?

Available on Iterable<T>, provided by the IterablesExtension extension

Returns the most frequent element in the list.
no setter
nonNulls Iterable<T>

Available on Iterable<T?>, provided by the NullableIterableExtensions extension

The non-null elements of this iterable.
no setter
orderByRandom Iterable<T>

Available on Iterable<T>, provided by the IterablesExtension extension

no setter
randomItem → T?

Available on Iterable<T>, provided by the IterablesExtension extension

Returns a random item from the list.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
single → dynamic
Checks that this iterable has only one element, and returns that element.
no setterinherited
singleOrNull → T?

Available on Iterable<T>, provided by the IterableExtensions extension

The single element of this iterator, or null.
no setter
singleOrNull → T?

Available on Iterable<T>, provided by the IterableExtension extension

The single element of the iterable, or null.
no setter
sum int

Available on Iterable<int>, provided by the IterableIntegerExtension extension

The sum of the elements.
no setter
sum num

Available on Iterable<num>, provided by the IterableNumberExtension extension

The sum of the elements.
no setter
sum double

Available on Iterable<double>, provided by the IterableDoubleExtension extension

The sum of the elements.
no setter
toJSIterable JSIterable<T>

Available on Iterable<T>, provided by the IterableToJSIterable extension

A JSIterable wrapper that proxies to the Dart iterable API.
no setter
wait Future<List<T>>

Available on Iterable<Future<T>>, provided by the FutureIterable extension

Waits for futures in parallel.
no setter
whereNotBlank Iterable<T>

Available on Iterable<T>, provided by the IterablesExtension extension

no setter
whereValid Iterable<T>

Available on Iterable<T>, provided by the IterablesExtension extension

return only valid items (see Object.isValid)
no setter

Methods

aggregate(T aggregator(T aggregate, T select)) → T

Available on Iterable<T>, provided by the AggregateExtension extension

Aggregates the iterable into a single value.
aggregateRight(T aggregator(T aggregate, T element)) → T

Available on Iterable<T>, provided by the AggregateRightExtension extension

Aggregates the iterable into a single value in a right-associative manner.
aggregateRightSelect<TResult>(TResult initialValue, TResult aggregator(TResult aggregate, T element)) → TResult

Available on Iterable<T>, provided by the AggregateRightSelectExtension extension

Aggregates the iterable into a single value in a right-associative manner.
aggregateSelect<TResult>(TResult initialValue, TResult aggregator(TResult aggregate, T element)) → TResult

Available on Iterable<T>, provided by the AggregateSelectExtension extension

Aggregates the iterable into a single value.
all([bool condition(T element)?]) bool

Available on Iterable<T>, provided by the AllExtension extension

Returns true if all elements match a condition and false otherwise.
any(bool test(dynamic element)) bool
Checks whether any element of this iterable satisfies test.
inherited
append(T value) Iterable<T>

Available on Iterable<T>, provided by the AppendExtension extension

Inserts an element to the end of the iterable.
append2(T v1, T v2) Iterable<T>

Available on Iterable<T>, provided by the AppendExtension extension

Inserts two elements to the end of the iterable.
append3(T v1, T v2, T v3) Iterable<T>

Available on Iterable<T>, provided by the AppendExtension extension

Inserts three elements to the end of the iterable.
append4(T v1, T v2, T v3, T v4) Iterable<T>

Available on Iterable<T>, provided by the AppendExtension extension

Inserts four elements to the end of the iterable.
append5(T v1, T v2, T v3, T v4, T v5) Iterable<T>

Available on Iterable<T>, provided by the AppendExtension extension

Inserts five elements to the end of the iterable.
append6(T v1, T v2, T v3, T v4, T v5, T v6) Iterable<T>

Available on Iterable<T>, provided by the AppendExtension extension

Inserts six elements to the end of the iterable.
append7(T v1, T v2, T v3, T v4, T v5, T v6, T v7) Iterable<T>

Available on Iterable<T>, provided by the AppendExtension extension

Inserts seven elements to the end of the iterable.
append8(T v1, T v2, T v3, T v4, T v5, T v6, T v7, T v8) Iterable<T>

Available on Iterable<T>, provided by the AppendExtension extension

Inserts eight elements to the end of the iterable.
append9(T v1, T v2, T v3, T v4, T v5, T v6, T v7, T v8, T v9) Iterable<T>

Available on Iterable<T>, provided by the AppendExtension extension

Inserts nine elements to the end of the iterable.
appendAll(Iterable<T> other) Iterable<T>

Available on Iterable<T>, provided by the AppendAllExtension extension

Inserts all elements in an iterable at the end of this iterable.
asDynamic() Tuple5
Clones this tuple where the clone is cast with dynamically-typed items.
asNameMap() Map<String, T>

Available on Iterable<T>, provided by the EnumByName extension

Creates a map from the names of enum values to the values.
assertAll(bool condition(T element), [String? message]) Iterable<T>

Available on Iterable<T>, provided by the AssertAllExtension extension

Asserts that all elements in this iterable meet a given condition. If not, an AssertionError is thrown.
assertAny(bool condition(T element), [String? message]) Iterable<T>

Available on Iterable<T>, provided by the AssertAnyExtension extension

Asserts that any elements in this iterable meet a given condition. If not, an AssertionError is thrown.
assertCount(int count, [String? message]) Iterable<T>

Available on Iterable<T>, provided by the AssertCountExtension extension

Asserts that any elements in this iterable meet a given condition. If not, an AssertionError is thrown.
asType<U0, U1, U2, U3, U4>() Tuple5<U0, U1, U2, U3, U4>
Clones this tuple where the clone is cast with the specified type arguments.
atLeast(T value, {int sorter(T element, T value)?}) bool

Available on Iterable<T>, provided by the AtLeastExtension extension

Returns true if all elements in the iterable are equal to or greater than value.
atMost(T value, {int sorter(T element, T value)?}) bool

Available on Iterable<T>, provided by the AtMostExtension extension

Returns true if all elements in the iterable are equal to or less than value.
average<TNum extends num>([num selector(T value)?]) → TNum

Available on Iterable<T>, provided by the AverageExtension extension

Calculates the average of all numerical values in the iterable.
awaitAll() Future<Iterable<T>>

Available on Iterable<Future<T>>, provided by the AwaitAllExtension extension

Awaits each future in the iterable and returns an iterable of the returned values once all the futures have completed.
awaitAny() Future<T>

Available on Iterable<Future<T>>, provided by the AwaitAnyExtension extension

Awaits each future in the iterable and returns the value of the first future to complete.
batch(int size, {bool includeTail = false}) Iterable<Iterable<T>>

Available on Iterable<T>, provided by the BatchExtension extension

Groups elements in the iterator into batches of size length, optionally truncating elements that don't fit into a full-size batch.
batchSelect<TResult>(int size, TResult selector(List<T> batch), {bool includeTail = false}) Iterable<TResult>

Available on Iterable<T>, provided by the BatchSelectExtension extension

Groups elements in the iterator into batches of size length and puts them through a mapping function, optionally truncating elements that don't fit into a full-size batch.
between(T minimum, T maximum, {int sorter(T value, T element)?, bool minimumInclusive = false, bool maximumInclusive = false}) bool

Available on Iterable<T>, provided by the BetweenExtension extension

Returns true if all elements in the iterable are between minimum and maximum.
byName(String name) → T

Available on Iterable<T>, provided by the EnumByName extension

Finds the enum value in this list with name name.
cartesian<T2>(Iterable<T2> other) Iterable<Tuple2<T, T2>>

Available on Iterable<T>, provided by the CartesianExtension extension

Generates the cartesian product of this iterable and other.
cartesian3<T2, T3>(Iterable<T2> o2, Iterable<T3> o3) Iterable<Tuple3<T, T2, T3>>

Available on Iterable<T>, provided by the CartesianExtension extension

Generates the cartesian product of this iterable and two other iterables.
cartesian4<T2, T3, T4>(Iterable<T2> o2, Iterable<T3> o3, Iterable<T4> o4) Iterable<Tuple4<T, T2, T3, T4>>

Available on Iterable<T>, provided by the CartesianExtension extension

Generates the cartesian product of this iterable and three other iterables.
cartesian5<T2, T3, T4, T5>(Iterable<T2> o2, Iterable<T3> o3, Iterable<T4> o4, Iterable<T5> o5) Iterable<Tuple5<T, T2, T3, T4, T5>>

Available on Iterable<T>, provided by the CartesianExtension extension

Generates the cartesian product of this iterable and four other iterables.
cartesian6<T2, T3, T4, T5, T6>(Iterable<T2> o2, Iterable<T3> o3, Iterable<T4> o4, Iterable<T5> o5, Iterable<T6> o6) Iterable<Tuple6<T, T2, T3, T4, T5, T6>>

Available on Iterable<T>, provided by the CartesianExtension extension

Generates the cartesian product of this iterable and five other iterables.
cartesian7<T2, T3, T4, T5, T6, T7>(Iterable<T2> o2, Iterable<T3> o3, Iterable<T4> o4, Iterable<T5> o5, Iterable<T6> o6, Iterable<T7> o7) Iterable<Tuple7<T, T2, T3, T4, T5, T6, T7>>

Available on Iterable<T>, provided by the CartesianExtension extension

Generates the cartesian product of this iterable and six other iterables.
cartesian8<T2, T3, T4, T5, T6, T7, T8>(Iterable<T2> o2, Iterable<T3> o3, Iterable<T4> o4, Iterable<T5> o5, Iterable<T6> o6, Iterable<T7> o7, Iterable<T8> o8) Iterable<Tuple8<T, T2, T3, T4, T5, T6, T7, T8>>

Available on Iterable<T>, provided by the CartesianExtension extension

Generates the cartesian product of this iterable and seven other iterables.
cartesian9<T2, T3, T4, T5, T6, T7, T8, T9>(Iterable<T2> o2, Iterable<T3> o3, Iterable<T4> o4, Iterable<T5> o5, Iterable<T6> o6, Iterable<T7> o7, Iterable<T8> o8, Iterable<T9> o9) Iterable<Tuple9<T, T2, T3, T4, T5, T6, T7, T8, T9>>

Available on Iterable<T>, provided by the CartesianExtension extension

Generates the cartesian product of this iterable and eight other iterables.
cartesianSelect<T2, TResult>(Iterable<T2> other, TResult selector(T element, T2 otherElement)) Iterable<TResult>

Available on Iterable<T>, provided by the CartesianSelectExtension extension

Generates the cartesian product of this iterable and other, returning an iterable of mapped elements.
cartesianSelect3<T2, T3, TResult>(Iterable<T2> o2, Iterable<T3> o3, TResult selector(T element, T2 o2Element, T3 o3Element)) Iterable<TResult>

Available on Iterable<T>, provided by the CartesianSelectExtension extension

Generates the cartesian product of this iterable and two other iterables, returning an iterable of mapped elements.
cartesianSelect4<T2, T3, T4, TResult>(Iterable<T2> o2, Iterable<T3> o3, Iterable<T4> o4, TResult selector(T element, T2 o2Element, T3 o3Element, T4 o4Element)) Iterable<TResult>

Available on Iterable<T>, provided by the CartesianSelectExtension extension

Generates the cartesian product of this iterable and three other iterables, returning an iterable of mapped elements.
cartesianSelect5<T2, T3, T4, T5, TResult>(Iterable<T2> o2, Iterable<T3> o3, Iterable<T4> o4, Iterable<T5> o5, TResult selector(T element, T2 o2Element, T3 o3Element, T4 o4Element, T5 o5Element)) Iterable<TResult>

Available on Iterable<T>, provided by the CartesianSelectExtension extension

Generates the cartesian product of this iterable and four other iterables, returning an iterable of mapped elements.
cartesianSelect6<T2, T3, T4, T5, T6, TResult>(Iterable<T2> o2, Iterable<T3> o3, Iterable<T4> o4, Iterable<T5> o5, Iterable<T6> o6, TResult selector(T element, T2 o2Element, T3 o3Element, T4 o4Element, T5 o5Element, T6 o6Element)) Iterable<TResult>

Available on Iterable<T>, provided by the CartesianSelectExtension extension

Generates the cartesian product of this iterable and five other iterables, returning an iterable of mapped elements.
cartesianSelect7<T2, T3, T4, T5, T6, T7, TResult>(Iterable<T2> o2, Iterable<T3> o3, Iterable<T4> o4, Iterable<T5> o5, Iterable<T6> o6, Iterable<T7> o7, TResult selector(T element, T2 o2Element, T3 o3Element, T4 o4Element, T5 o5Element, T6 o6Element, T7 o7Element)) Iterable<TResult>

Available on Iterable<T>, provided by the CartesianSelectExtension extension

Generates the cartesian product of this iterable and six other iterables, returning an iterable of mapped elements.
cartesianSelect8<T2, T3, T4, T5, T6, T7, T8, TResult>(Iterable<T2> o2, Iterable<T3> o3, Iterable<T4> o4, Iterable<T5> o5, Iterable<T6> o6, Iterable<T7> o7, Iterable<T8> o8, TResult selector(T element, T2 o2Element, T3 o3Element, T4 o4Element, T5 o5Element, T6 o6Element, T7 o7Element, T8 o8Element)) Iterable<TResult>

Available on Iterable<T>, provided by the CartesianSelectExtension extension

Generates the cartesian product of this iterable and seven other iterables, returning an iterable of mapped elements.
cartesianSelect9<T2, T3, T4, T5, T6, T7, T8, T9, TResult>(Iterable<T2> o2, Iterable<T3> o3, Iterable<T4> o4, Iterable<T5> o5, Iterable<T6> o6, Iterable<T7> o7, Iterable<T8> o8, Iterable<T9> o9, TResult selector(T element, T2 o2Element, T3 o3Element, T4 o4Element, T5 o5Element, T6 o6Element, T7 o7Element, T8 o8Element, T9 o9Element)) Iterable<TResult>

Available on Iterable<T>, provided by the CartesianSelectExtension extension

Generates the cartesian product of this iterable and eight other iterables, returning an iterable of mapped elements.
cast<R>() Iterable<R>
A view of this iterable as an iterable of R instances.
inherited
compareCount(Iterable other) int

Available on Iterable<T>, provided by the CompareCountExtension extension

Compares the length of this iterable and other and returns an integer representing their comparison.
concat(Iterable<T> other) Iterable<T>

Available on Iterable<T>, provided by the ConcatExtension extension

Concatenates this iterable and another iterables.
concat2(Iterable<T> c1, Iterable<T> c2) Iterable<T>

Available on Iterable<T>, provided by the ConcatExtension extension

Concatenates this iterable and two another iterables.
concat3(Iterable<T> c1, Iterable<T> c2, Iterable<T> c3) Iterable<T>

Available on Iterable<T>, provided by the ConcatExtension extension

Concatenates this iterable and three another iterables.
concat4(Iterable<T> c1, Iterable<T> c2, Iterable<T> c3, Iterable<T> c4) Iterable<T>

Available on Iterable<T>, provided by the ConcatExtension extension

Concatenates this iterable and four another iterables.
concat5(Iterable<T> c1, Iterable<T> c2, Iterable<T> c3, Iterable<T> c4, Iterable<T> c5) Iterable<T>

Available on Iterable<T>, provided by the ConcatExtension extension

Concatenates this iterable and five another iterables.
concat6(Iterable<T> c1, Iterable<T> c2, Iterable<T> c3, Iterable<T> c4, Iterable<T> c5, Iterable<T> c6) Iterable<T>

Available on Iterable<T>, provided by the ConcatExtension extension

Concatenates this iterable and six another iterables.
concat7(Iterable<T> c1, Iterable<T> c2, Iterable<T> c3, Iterable<T> c4, Iterable<T> c5, Iterable<T> c6, Iterable<T> c7) Iterable<T>

Available on Iterable<T>, provided by the ConcatExtension extension

Concatenates this iterable and seven another iterables.
concat8(Iterable<T> c1, Iterable<T> c2, Iterable<T> c3, Iterable<T> c4, Iterable<T> c5, Iterable<T> c6, Iterable<T> c7, Iterable<T> c8) Iterable<T>

Available on Iterable<T>, provided by the ConcatExtension extension

Concatenates this iterable and eight another iterables.
concat9(Iterable<T> c1, Iterable<T> c2, Iterable<T> c3, Iterable<T> c4, Iterable<T> c5, Iterable<T> c6, Iterable<T> c7, Iterable<T> c8, Iterable<T> c9) Iterable<T>

Available on Iterable<T>, provided by the ConcatExtension extension

Concatenates this iterable and nine another iterables.
concatAll(Iterable<Iterable<T>> iterables) Iterable<T>

Available on Iterable<T>, provided by the ConcatAllExtension extension

Concatenates this iterable and a provided iterable of iterables.
consume() → void

Available on Iterable<T>, provided by the ConsumeExtension extension

Fully consumes this iterable.
contains(Object? element) bool
Whether the collection contains an element equal to element.
inherited
containsAll(Iterable<T> otherList) bool

Available on Iterable<T>, provided by the IterablesExtension extension

Checks if this list contains all elements from otherList.
containsAny(Iterable<T> otherList) bool

Available on Iterable<T>, provided by the IterablesExtension extension

containsAtLeast(int count, List<T> values) bool

Available on Iterable<T>, provided by the IterablesExtension extension

Checks if a list contains at least count values from values.
containsLike(String s) bool

Available on Iterable<String>, provided by the IterableString extension

Verify if any String in a StringList contains the specified String
copyWith({T0? item0, T1? item1, T2? item2, T3? item3, T4? item4}) Tuple5<T0, T1, T2, T3, T4>
Creates a copy tuple with the elements from this tuple with the value of each item optionally overridden.
copyWithout({required List<bool> indices}) Tuple
A list of boolean values indicating whether certain items in this tuple should be retained or discarded. The length of the list must be the same as the length of this tuple.
count([bool condition(T element)?]) int

Available on Iterable<T>, provided by the MathConsumerExtensions extension

Returns the number of elements in the iterable.
countBy<TKey>(TKey keySelector(T element)) Iterable<MapEntry<TKey, int>>

Available on Iterable<T>, provided by the CountByExtension extension

Applies keySelector to every element in this iterable and returns an iterable containing each resulting key and the number of times that key appears in this iterable.
deconstruct() → (Iterable<T>)

Available on Iterable<(T)>, provided by the Deconstruct1Extension extension

Takes this iterable of records and deconstructs it into a record of iterables.
deconstruct() → (Iterable<T1>, Iterable<T2>)

Available on Iterable<(T1, T2)>, provided by the Deconstruct2Extension extension

Takes this iterable of records and deconstructs it into a record of iterables.
deconstruct() → (Iterable<T1>, Iterable<T2>, Iterable<T3>)

Available on Iterable<(T1, T2, T3)>, provided by the Deconstruct3Extension extension

Takes this iterable of records and deconstructs it into a record of iterables.
deconstruct() → (Iterable<T1>, Iterable<T2>, Iterable<T3>, Iterable<T4>)

Available on Iterable<(T1, T2, T3, T4)>, provided by the Deconstruct4Extension extension

Takes this iterable of records and deconstructs it into a record of iterables.
deconstruct() → (Iterable<T1>, Iterable<T2>, Iterable<T3>, Iterable<T4>, Iterable<T5>)

Available on Iterable<(T1, T2, T3, T4, T5)>, provided by the Deconstruct5Extension extension

Takes this iterable of records and deconstructs it into a record of iterables.
deconstruct() → (Iterable<T1>, Iterable<T2>, Iterable<T3>, Iterable<T4>, Iterable<T5>, Iterable<T6>)

Available on Iterable<(T1, T2, T3, T4, T5, T6)>, provided by the Deconstruct6Extension extension

Takes this iterable of records and deconstructs it into a record of iterables.
deconstruct() → (Iterable<T1>, Iterable<T2>, Iterable<T3>, Iterable<T4>, Iterable<T5>, Iterable<T6>, Iterable<T7>)

Available on Iterable<(T1, T2, T3, T4, T5, T6, T7)>, provided by the Deconstruct7Extension extension

Takes this iterable of records and deconstructs it into a record of iterables.
deconstruct() → (Iterable<T1>, Iterable<T2>, Iterable<T3>, Iterable<T4>, Iterable<T5>, Iterable<T6>, Iterable<T7>, Iterable<T8>)

Available on Iterable<(T1, T2, T3, T4, T5, T6, T7, T8)>, provided by the Deconstruct8Extension extension

Takes this iterable of records and deconstructs it into a record of iterables.
deconstruct() → (Iterable<T1>, Iterable<T2>, Iterable<T3>, Iterable<T4>, Iterable<T5>, Iterable<T6>, Iterable<T7>, Iterable<T8>, Iterable<T9>)

Available on Iterable<(T1, T2, T3, T4, T5, T6, T7, T8, T9)>, provided by the Deconstruct9Extension extension

Takes this iterable of records and deconstructs it into a record of iterables.
defaultIfEmpty(T defaultVal) Iterable<T>

Available on Iterable<T>, provided by the DefaultIfEmptyExtension extension

Returns a new iterable containing defaultVal if this iterable is empty. Otherwise, the source iterable will be unaffected.
defaultRangeIfEmpty(Iterable<T> defaultVal) Iterable<T>

Available on Iterable<T>, provided by the DefaultRangeIfEmptyExtension extension

Returns this iterable, or defaultVal if this iterable is empty.
distinct([Object keySelector(T element)?]) Iterable<T>

Available on Iterable<T>, provided by the DistinctExtension extension

Returns an iterable representing the distinct values of this iterable.
distinctBy<E>(E predicate(T)) Set<T>

Available on Iterable<T>, provided by the IterablesExtension extension

Removes duplicate elements from a list based on a provided predicate.
distinctByComparison(bool comparison(T, T)) Set<T>

Available on Iterable<T>, provided by the IterablesExtension extension

Removes duplicate elements from a list based on a provided comparison function.
distinctFlat() Iterable<String>

Available on Iterable<String>, provided by the IterableString extension

Removes duplicate elements from a StringList.
elementAt(int index) → dynamic
Returns the indexth element.
inherited
elementAtOrDefault(int index, {required T defaultValue}) → T

Available on Iterable<T>, provided by the ElementAtOrDefaultExtension extension

Returns the element at the specified index or a default value of one is not found.
elementAtOrNull(int index) → T?

Available on Iterable<T>, provided by the IterableExtensions extension

The element at position index of this iterable, or null.
elementAtOrNull(int index) → T?

Available on Iterable<T>, provided by the IterableExtension extension

The indexth element, or null if there is no such element.
endsWith(Iterable<T> other, {bool comparer(T value, T otherValue)?}) bool

Available on Iterable<T>, provided by the EndsWithExtension extension

Returns true if this iterable ends with the same elements that are in other.
every(bool test(dynamic element)) bool
Checks whether every element of this iterable satisfies test.
inherited
except(Iterable<T> other, [Object selector(T element)?]) Iterable<T>

Available on Iterable<T>, provided by the ExceptExtension extension

Returns the set difference between the iterable and the given collection.
exclude(T value, {bool comparer(T value, T element)?}) Iterable<T>

Available on Iterable<T>, provided by the ExcludeExtension extension

Returns all elements in this iterable except those that are equal to the specified value.
excludeAt(int index) Iterable<T>

Available on Iterable<T>, provided by the ExcludeAtExtension extension

Returns all elements in this iterable except the element at index.
excludeRange(int start, int count) Iterable<T>

Available on Iterable<T>, provided by the ExcludeRangeExtension extension

Returns all elements in this iterable except those that are within the specified range.
expand<T>(Iterable<T> toElements(dynamic element)) Iterable<T>
Expands each element of this Iterable into zero or more elements.
inherited
expandIndexed<R>(Iterable<R> expand(int index, T element)) Iterable<R>

Available on Iterable<T>, provided by the IterableExtension extension

Expands each element and index to a number of elements in a new iterable.
fillBackward() Iterable<T>

Available on Iterable<T?>, provided by the FillBackwardExtension extension

Returns this iterable with all null values replaced with the next non-null element following it.
fillForward() Iterable<T>

Available on Iterable<T?>, provided by the FillForwardExtension extension

Returns this iterable with all null values replaced with the first non-null element preceeding it.
fillMissing(T value) Iterable<T>

Available on Iterable<T?>, provided by the FillMissingExtension extension

Returns this iterable with all null values replaced with the specified value.
firstOrDefault({T? defaultValue}) → T?

Available on Iterable<T>, provided by the FirstOrDefaultExtension extension

Returns the first element in the iterable.
firstWhere(bool test(dynamic element), {dynamic orElse()?}) → dynamic
The first element that satisfies the given predicate test.
inherited
firstWhereIndexedOrNull(bool test(int index, T element)) → T?

Available on Iterable<T>, provided by the IterableExtension extension

The first element whose value and index satisfies test.
firstWhereOrDefault(bool condition(T value), {T? defaultValue}) → T?

Available on Iterable<T>, provided by the FirstWhereOrDefaultExtension extension

Returns the first element in the iterable matching a specified condition, or a default value if none is found.
firstWhereOrNull(bool test(T element)) → T?

Available on Iterable<T>, provided by the IterableExtension extension

The first element satisfying test, or null if there are none.
flatContains(string s) bool

Available on Iterable<String>, provided by the IterableString extension

flatContainsAll(Iterable<String> s) bool

Available on Iterable<String>, provided by the IterableString extension

flatContainsAny(Iterable<String> s) bool

Available on Iterable<String>, provided by the IterableString extension

Verify if any String in a StringList contains any String of other StringList ignoring the accents and character case
flatContainsAtLeast(int count, Iterable<String> s) bool

Available on Iterable<String>, provided by the IterableString extension

flatContainsLike(String s) bool

Available on Iterable<String>, provided by the IterableString extension

Verify if any String in a StringList contains the specified String ignoring the accents and character case
flatten() Iterable<T>

Available on Iterable<Iterable<T>>, provided by the FlattenExtension extension

Flattens this iterable of iterables into a single iterable.
fold<T>(T initialValue, T combine(T previousValue, dynamic element)) → T
Reduces a collection to a single value by iteratively combining each element of the collection with an existing value
inherited
foldIndexed<R>(R initialValue, R combine(int index, R previous, T element)) → R

Available on Iterable<T>, provided by the IterableExtension extension

Combine the elements with a value and the current index.
followedBy(Iterable other) Iterable
Creates the lazy concatenation of this iterable and other.
inherited
forEach(void action(dynamic element)) → void
Invokes action on each element of this iterable in iteration order.
inherited
forEachIndexed(void action(int index, T element)) → void

Available on Iterable<T>, provided by the IterableExtension extension

Takes an action for each element.
forEachIndexedWhile(bool action(int index, T element)) → void

Available on Iterable<T>, provided by the IterableExtension extension

Takes an action for each element and index as long as desired.
forEachWhile(bool action(T element)) → void

Available on Iterable<T>, provided by the IterableExtension extension

Takes an action for each element as long as desired.
getLevenshtein(String b, [bool caseSensitive = true]) List<int>

Available on Iterable<String>, provided by the IterableString extension

Returns a list of Levenshtein distances between each element in the list and the given string b. The optional parameter caseSensitive determines whether the comparison should be case-sensitive or not. If caseSensitive is not provided, it defaults to true.
groupAndMapBy<M>(M keyFunction(T)) Map<M, List<T>>

Available on Iterable<T>, provided by the IterablesExtension extension

Groups the items in the list by the item returned by the lambda function.
groupAndRemapBy<M, V>(M keyFunction(T), V valueFunction(List<T>)) Map<M, V>

Available on Iterable<T>, provided by the IterablesExtension extension

Groups the items in the list by the item returned by the lambda function and remaps the values.
groupAndRemapValuesBy<M, V>(M keyFunction(T), V onValueFunction(T)) Map<M, List<V>>

Available on Iterable<T>, provided by the IterablesExtension extension

groupBy<TKey>(TKey keySelector(T element), {EqualityComparer<TKey>? keyComparer}) GroupByIterable<T, TKey>

Available on Iterable<T>, provided by the GroupByExtension extension

Groups the elements in the iterable by a key.
groupByValue<TKey, TValue>({TKey keySelector(T element)?, TValue valueSelector(T element)?, EqualityComparer<TKey>? keyComparer}) GroupByValueIterable<T, TKey, TValue>

Available on Iterable<T>, provided by the GroupByValueExtension extension

Groups the elements in the iterable by a key and maps the elements to a new value.
groupFoldBy<K, G>(K keyOf(T element), G combine(G? previous, T element)) Map<K, G>

Available on Iterable<T>, provided by the IterableExtension extension

Groups elements by keyOf then folds the elements in each group.
groupInPage(int pageSize) List<List<T>>

Available on Iterable<T>, provided by the IterablesExtension extension

Group the itens of a list
groupJoin<TInner, TKey, TResult>(Iterable<TInner> inner, TResult resultSelector(T element, Iterable<TInner> other), {TKey outerKeySelector(T element)?, TKey innerKeySelector(TInner otherElement)?, EqualityComparer<TKey>? keyComparer}) GroupJoinIterable<T, TInner, TKey, TResult>

Available on Iterable<T>, provided by the GroupJoinExtension extension

Joins elements in the iterable with a group of all elements in the inner collection that match the generated key.
groupListsBy<K>(K keyOf(T element)) Map<K, List<T>>

Available on Iterable<T>, provided by the IterableExtension extension

Groups elements into lists by keyOf.
groupSelect<TKey, TResult>(TResult resultSelector(TKey key, Iterable<T> group), {TKey keySelector(T key)?, EqualityComparer<TKey>? keyComparer}) GroupSelectIterable<T, TKey, TResult>

Available on Iterable<T>, provided by the GroupSelectExtension extension

Groups the elements in the iterable by a key and maps the groups to a new element.
groupSelectValue<TKey, TValue, TResult>(TResult resultSelector(TKey key, Iterable<TValue> group), {TKey keySelector(T element)?, TValue valueSelector(T element)?, EqualityComparer<TKey>? keyComparer}) GroupSelectValueIterable<T, TKey, TValue, TResult>

Available on Iterable<T>, provided by the GroupSelectValueExtension extension

Groups the elements in the iterable by a key, maps the elements to a new value, and maps the groups to a new element.
groupSetsBy<K>(K keyOf(T element)) Map<K, Set<T>>

Available on Iterable<T>, provided by the IterableExtension extension

Groups elements into sets by keyOf.
index([int startIndex = 0, bool descending = false]) Iterable<MapEntry<int, T>>

Available on Iterable<T>, provided by the IndexExtension extension

Returns an iterable of MapEntry representing the elements in this iterable combined with the zero-based index where the element was found.
insert(int index, T value) Iterable<T>

Available on Iterable<T>, provided by the InsertExtension extension

Inserts an element into the iterable at the specified index.
insert2(int index, T v1, T v2) Iterable<T>

Available on Iterable<T>, provided by the InsertExtension extension

Inserts two elements into the iterable at the specified index.
insert3(int index, T v1, T v2, T v3) Iterable<T>

Available on Iterable<T>, provided by the InsertExtension extension

Inserts three elements into the iterable at the specified index.
insert4(int index, T v1, T v2, T v3, T v4) Iterable<T>

Available on Iterable<T>, provided by the InsertExtension extension

Inserts four elements into the iterable at the specified index.
insert5(int index, T v1, T v2, T v3, T v4, T v5) Iterable<T>

Available on Iterable<T>, provided by the InsertExtension extension

Inserts five elements into the iterable at the specified index.
insert6(int index, T v1, T v2, T v3, T v4, T v5, T v6) Iterable<T>

Available on Iterable<T>, provided by the InsertExtension extension

Inserts six elements into the iterable at the specified index.
insert7(int index, T v1, T v2, T v3, T v4, T v5, T v6, T v7) Iterable<T>

Available on Iterable<T>, provided by the InsertExtension extension

Inserts seven elements into the iterable at the specified index.
insert8(int index, T v1, T v2, T v3, T v4, T v5, T v6, T v7, T v8) Iterable<T>

Available on Iterable<T>, provided by the InsertExtension extension

Inserts eight elements into the iterable at the specified index.
insert9(int index, T v1, T v2, T v3, T v4, T v5, T v6, T v7, T v8, T v9) Iterable<T>

Available on Iterable<T>, provided by the InsertExtension extension

Inserts nine elements into the iterable at the specified index.
insertAll(int index, Iterable<T> other) Iterable<T>

Available on Iterable<T>, provided by the InsertAllExtension extension

Inserts all elements from another iterable into this iterable at the specified index.
insertEvery(T value, {required int step, int skip = 0}) Iterable<T>

Available on Iterable<T>, provided by the InsertEveryExtension extension

Inserts an element into the iterable after every N elements.
insertOrAppend(int index, T value) Iterable<T>

Available on Iterable<T>, provided by the InsertOrAppendExtension extension

Inserts an element into the iterable at the specified index.
insertOrAppend2(int index, T v1, T v2) Iterable<T>

Available on Iterable<T>, provided by the InsertOrAppendExtension extension

Inserts two elements into the iterable at the specified index.
insertOrAppend3(int index, T v1, T v2, T v3) Iterable<T>

Available on Iterable<T>, provided by the InsertOrAppendExtension extension

Inserts three elements into the iterable at the specified index.
insertOrAppend4(int index, T v1, T v2, T v3, T v4) Iterable<T>

Available on Iterable<T>, provided by the InsertOrAppendExtension extension

Inserts four elements into the iterable at the specified index.
insertOrAppend5(int index, T v1, T v2, T v3, T v4, T v5) Iterable<T>

Available on Iterable<T>, provided by the InsertOrAppendExtension extension

Inserts five elements into the iterable at the specified index.
insertOrAppend6(int index, T v1, T v2, T v3, T v4, T v5, T v6) Iterable<T>

Available on Iterable<T>, provided by the InsertOrAppendExtension extension

Inserts six elements into the iterable at the specified index.
insertOrAppend7(int index, T v1, T v2, T v3, T v4, T v5, T v6, T v7) Iterable<T>

Available on Iterable<T>, provided by the InsertOrAppendExtension extension

Inserts seven elements into the iterable at the specified index.
insertOrAppend8(int index, T v1, T v2, T v3, T v4, T v5, T v6, T v7, T v8) Iterable<T>

Available on Iterable<T>, provided by the InsertOrAppendExtension extension

Inserts eight elements into the iterable at the specified index.
insertOrAppend9(int index, T v1, T v2, T v3, T v4, T v5, T v6, T v7, T v8, T v9) Iterable<T>

Available on Iterable<T>, provided by the InsertOrAppendExtension extension

Inserts nine elements into the iterable at the specified index.
insertOrAppendAll(int index, Iterable<T> other) Iterable<T>

Available on Iterable<T>, provided by the InsertOrAppendAll extension

Inserts all elements from another iterable into this iterable at the specified index.
insertOrAppendWhere(T value, bool where(T element)) Iterable<T>

Available on Iterable<T>, provided by the InsertOrAppendWhereExtension extension

Inserts an element into the iterable at the first index found where the existing element satisfies a predicate.
insertWhere(T value, bool where(T element)) Iterable<T>

Available on Iterable<T>, provided by the InsertWhereExtension extension

Inserts an element into the iterable at the first index found where the existing element satisfies a predicate.
interleave(Iterable<T> other) Iterable<T>

Available on Iterable<T>, provided by the InterleaveExtension extension

Returns the elements of this iterable interleaved with the elements of other.
interleaveAll(Iterable<Iterable<T>> others) Iterable<T>

Available on Iterable<T>, provided by the InterleaveAllExtension extension

Returns the elements of this iterable interleaved with the elements of every iterable in others.
interleaveValue(T value) Iterable<T>

Available on Iterable<T>, provided by the InterleaveValueExtension extension

Returns the elements of this iterable interleaved with value.
interleaveValueWhere(T value, bool where(T left, T right)) Iterable<T>

Available on Iterable<T>, provided by the InterleaveValueWhereExtension extension

Returns the elements of this iterable interleaved with value for every pair of elements that satisfies the predicate where.
intersect(Iterable<T> other, [Object selector(T element)?]) Iterable<T>

Available on Iterable<T>, provided by the IntersectExtension extension

Returns the set intersection between the iterable and the given collection.
isSorted(Comparator<T> compare) bool

Available on Iterable<T>, provided by the IterableExtension extension

Whether the elements are sorted by the compare ordering.
isSorted([Comparator<T>? compare]) bool

Available on Iterable<T>, provided by the IterableComparableExtension extension

Whether the elements are sorted by the compare ordering.
isSortedBy<K extends Comparable<K>>(K keyOf(T element)) bool

Available on Iterable<T>, provided by the IterableExtension extension

Whether the elements are sorted by their keyOf property.
isSortedByCompare<K>(K keyOf(T element), Comparator<K> compare) bool

Available on Iterable<T>, provided by the IterableExtension extension

Whether the elements are compare-sorted by their keyOf property.
join([String separator = ""]) String
Converts each element to a String and concatenates the strings.
inherited
joinMap<TInner, TKey, TResult>(Iterable<TInner> inner, TResult resultSelector(T element, TInner otherElement), {TKey outerKeySelector(T element)?, TKey innerKeySelector(TInner otherElement)?, EqualityComparer<TKey>? keyComparer}) Iterable<TResult>

Available on Iterable<T>, provided by the JoinMapExtension extension

Finds keys in this iterable with matching keys in the inner collection and returns a value that is the result of the corresponding elements being merged.
keySearch({required KeyCharSearches<T> keyCharSearches, required dynamic searchTerms, int maxResults = 0}) Iterable<T>

Available on Iterable<T>, provided by the IterablesExtension extension

Searches for items in this iterable based on the given searchTerms.
lag(int offset, {required T defaultValue}) Iterable<Iterable<T>>

Available on Iterable<T>, provided by the LagExtension extension

Returns an iterable that projects the elements in this iterable upon other elements in this iterable offset backwards by a given value.
lagSelect<TResult>(int offset, TResult selector(T element, T laggedElement), {required T defaultValue}) Iterable<TResult>

Available on Iterable<T>, provided by the LagSelectExtension extension

Returns an iterable that projects the elements in this iterable upon other elements in this iterable offset backwards by a given value.
lastBy<K>(K key(T)) Map<K, T>

Available on Iterable<T>, provided by the IterableExtension extension

Associates the elements in this by the value returned by key.
lastOrDefault({T? defaultValue}) → T?

Available on Iterable<T>, provided by the LastOrDefaultExtension extension

Returns the last element in the iterable.
lastWhere(bool test(dynamic element), {dynamic orElse()?}) → dynamic
The last element that satisfies the given predicate test.
inherited
lastWhereIndexedOrNull(bool test(int index, T element)) → T?

Available on Iterable<T>, provided by the IterableExtension extension

The last element whose index and value satisfies test.
lastWhereOrDefault(bool condition(T element), {T? defaultValue}) → T?

Available on Iterable<T>, provided by the LastWhereOrDefaultExtension extension

Returns the last element in the iterable matching a specified condition, or a default value if none is found.
lastWhereOrNull(bool test(T element)) → T?

Available on Iterable<T>, provided by the IterableExtension extension

The last element satisfying test, or null if there are none.
lead(int offset, {required T defaultValue}) Iterable<Iterable<T>>

Available on Iterable<T>, provided by the LeadExtension extension

Returns an iterable that projects the elements in this iterable upon other elements in this iterable offset forwards by a given value.
leadSelect<TResult>(int offset, TResult selector(T leadedElement, T element), {required T defaultValue}) Iterable<TResult>

Available on Iterable<T>, provided by the LeadSelectExtension extension

Returns an iterable that projects the elements in this iterable upon other elements in this iterable offset forwards by a given value.
map<T>(T toElement(dynamic e)) Iterable<T>
The current elements of this iterable modified by toElement.
inherited
mapActions({required void item0(T0), required void item1(T1), required void item2(T2), required void item3(T3), required void item4(T4)}) → void
A utility method for mapping a function to every item in this tuple.
mapIndexed<R>(R convert(int index, T element)) Iterable<R>

Available on Iterable<T>, provided by the IterableExtension extension

Maps each element and its index to a new value.
max([int comparer(T e1, T e2)?]) → T

Available on Iterable<T>, provided by the MaxExtension extension

Returns the maximum value in the iterable.
memoize() Iterable<T>

Available on Iterable<T>, provided by the MemoizeExtension extension

Returns an iterable whose elements are cached during the first iteration.
min([int comparer(T e1, T e2)?]) → T

Available on Iterable<T>, provided by the MinExtension extension

Returns the minimum value in the iterable.
move(int from, int count, int to) Iterable<T>

Available on Iterable<T>, provided by the MoveExtension extension

Moves a range of elements in this iterable to a new position, offsetting other elements to compensate.
none(bool test(T element)) bool

Available on Iterable<T>, provided by the IterableExtension extension

Whether no element satisfies test.
nonNull() Iterable<T>

Available on Iterable<T?>, provided by the NonNullExtension extension

Returns this iterable with all null values excluded.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ofType<TOther>() Iterable<TOther>

Available on Iterable<T>, provided by the OfTypeExtension extension

Returns all elements in the iterable that are castable to the specified type.
ofType2<T1, T2>() Iterable<T>

Available on Iterable<T>, provided by the OfTypeExtension extension

Returns all elements in the iterable that are castable to one of the specified types.
ofType3<T1, T2, T3>() Iterable<T>

Available on Iterable<T>, provided by the OfTypeExtension extension

Returns all elements in the iterable that are castable to one of the specified types.
ofType4<T1, T2, T3, T4>() Iterable<T>

Available on Iterable<T>, provided by the OfTypeExtension extension

Returns all elements in the iterable that are castable to one of the specified types.
ofType5<T1, T2, T3, T4, T5>() Iterable<T>

Available on Iterable<T>, provided by the OfTypeExtension extension

Returns all elements in the iterable that are castable to one of the specified types.
ofType6<T1, T2, T3, T4, T5, T6>() Iterable<T>

Available on Iterable<T>, provided by the OfTypeExtension extension

Returns all elements in the iterable that are castable to one of the specified types.
ofType7<T1, T2, T3, T4, T5, T6, T7>() Iterable<T>

Available on Iterable<T>, provided by the OfTypeExtension extension

Returns all elements in the iterable that are castable to one of the specified types.
ofType8<T1, T2, T3, T4, T5, T6, T7, T8>() Iterable<T>

Available on Iterable<T>, provided by the OfTypeExtension extension

Returns all elements in the iterable that are castable to one of the specified types.
ofType9<T1, T2, T3, T4, T5, T6, T7, T8, T9>() Iterable<T>

Available on Iterable<T>, provided by the OfTypeExtension extension

Returns all elements in the iterable that are castable to one of the specified types.
orderBy<TKey>(TKey keySelector(T element), {EqualityComparer<TKey>? keyComparer}) Iterable<T>

Available on Iterable<T>, provided by the OrderByExtension extension

Sorts the iteration in ascending (least-to-greatest) order.
orderByDescending<TKey>(TKey keySelector(T element), {EqualityComparer<TKey>? keyComparer}) Iterable<T>

Available on Iterable<T>, provided by the OrderByDescendingExtension extension

Sorts the iteration in descending (greatest-to-least) order.
padEnd(int length, {required T padding}) Iterable<T>

Available on Iterable<T>, provided by the PadEndExtension extension

Pads the iterable to be at least length, adding padding to the end as needed to guarantee the length.
padStart(int length, {required T padding}) Iterable<T>

Available on Iterable<T>, provided by the InsertionIterableExtensions extension

Pads the iterable to be at least length, adding padding to the start as needed to guarantee the length.
pairUp(List<T> other) List<(T?, T?)>

Available on Iterable<T>, provided by the IterablesExtension extension

Pairs up the elements of this list with the elements of the other list. Returns a new list of tuples, where each tuple contains two elements: the corresponding element from this list and the corresponding element from the other list. If one of the lists is shorter than the other, the missing elements are paired with null.
pairUpIndexes(List<T> other) List<(int, int)>

Available on Iterable<T>, provided by the IterablesExtension extension

Returns a list of pairs of indexes, where each pair represents the index of an element in the original list and the index of the same element in the provided other list. If an element in the original list is not found in the other list, its index will be represented as -1 in the pair.
pairwise() Iterable<Tuple2<T, T>>

Available on Iterable<T>, provided by the PairwiseExtension extension

Returns an iterable that pairs every element with the element before it.
partition(bool condition(T element)) Iterable<Iterable<T>>

Available on Iterable<T>, provided by the PartitionExtension extension

Returns an iterable containing two iterables, one containing the elements that match the condition and one containing those that do not.
permutations() Iterable<Iterable<T>>

Available on Iterable<T>, provided by the PermutationsExtension extension

Returns an iterable that consists of iterables, where each iterable is a collection of all the permutations of the elements in this iterable.
prepend(T value) Iterable<T>

Available on Iterable<T>, provided by the PrependExtension extension

Inserts an element at the beginning of the iterable.
prepend2(T v1, T v2) Iterable<T>

Available on Iterable<T>, provided by the PrependExtension extension

Inserts two elements at the beginning of the iterable.
prepend3(T v1, T v2, T v3) Iterable<T>

Available on Iterable<T>, provided by the PrependExtension extension

Inserts three elements at the beginning of the iterable.
prepend4(T v1, T v2, T v3, T v4) Iterable<T>

Available on Iterable<T>, provided by the PrependExtension extension

Inserts four elements at the beginning of the iterable.
prepend5(T v1, T v2, T v3, T v4, T v5) Iterable<T>

Available on Iterable<T>, provided by the PrependExtension extension

Inserts five elements at the beginning of the iterable.
prepend6(T v1, T v2, T v3, T v4, T v5, T v6) Iterable<T>

Available on Iterable<T>, provided by the PrependExtension extension

Inserts six elements at the beginning of the iterable.
prepend7(T v1, T v2, T v3, T v4, T v5, T v6, T v7) Iterable<T>

Available on Iterable<T>, provided by the PrependExtension extension

Inserts seven elements at the beginning of the iterable.
prepend8(T v1, T v2, T v3, T v4, T v5, T v6, T v7, T v8) Iterable<T>

Available on Iterable<T>, provided by the PrependExtension extension

Inserts eight elements at the beginning of the iterable.
prepend9(T v1, T v2, T v3, T v4, T v5, T v6, T v7, T v8, T v9) Iterable<T>

Available on Iterable<T>, provided by the PrependExtension extension

Inserts nine elements at the beginning of the iterable.
prependAll(Iterable<T> other) Iterable<T>

Available on Iterable<T>, provided by the PrependAllExtension extension

Inserts all elements in an iterable at the beginning of this iterable.
preScan(T initialValue, T aggregator(T value, T element)) Iterable<T>

Available on Iterable<T>, provided by the PreScanExtension extension

Returns the pre-scan (exclusive prefix sum) of this iterable.
random({Random? random}) → T

Available on Iterable<T>, provided by the RandomExtension extension

Returns a random element from this iterable. The optional parameter random specifies a random generator to be used for the random selection algorithm.
randomize([Random? random]) Iterable<T>

Available on Iterable<T>, provided by the RandomizeExtension extension

Returns a sequence of elements in random order from the original sequence. The optional parameter random specifies a random generator to be used for the random selection algorithm.
randomSubset(int size, [Random? random]) Iterable<T>

Available on Iterable<T>, provided by the RandomSubsetExtension extension

Returns an iterable of the specified size consisting of random elements from this iterable. The optional parameter random specifies a random generator to be used for the random selection algorithm.
reduce(dynamic combine(dynamic value, dynamic element)) → dynamic
Reduces a collection to a single value by iteratively combining elements of the collection using the provided function.
inherited
reduceIndexed(T combine(int index, T previous, T element)) → T

Available on Iterable<T>, provided by the IterableExtension extension

Combine the elements with each other and the current index.
repeat(int count) Iterable<T>

Available on Iterable<T>, provided by the RepeatExtension extension

Repeats this iterable a specified number of times.
replaceAll(T value) Iterable<T>

Available on Iterable<T>, provided by the ReplaceAllExtension extension

Replaces all elements in this iterable with value.
replaceAt(T value, {required int at}) Iterable<T>

Available on Iterable<T>, provided by the ReplaceAtExtension extension

Replaces the element at at with value.
replaceEvery(T value, {required int step, int skip = 0}) Iterable<T>

Available on Iterable<T>, provided by the ReplaceEveryExtension extension

Replaces every stepth element with value.
replaceRange(Iterable<T> source, {required int start, required int count}) Iterable<T>

Available on Iterable<T>, provided by the ReplaceRangeExtension extension

Replaces the elements in the range start (inclusive) to start + count (exclusive) with the elements from source. If the range is longer than the length of source, the elements will be repeated until the end of the range is reached.
replaceRangeValue(T value, {required int start, required int count}) Iterable<T>

Available on Iterable<T>, provided by the ReplaceRangeValueExtension extension

Replaces the elements in the range start (inclusive) to start + count (exclusive) with value.
replaceWhere(T value, bool where(T)) Iterable<T>

Available on Iterable<T>, provided by the ReplaceWhereExtension extension

Replaces every element that matches the where condition with value.
reverse() Iterable<T>

Available on Iterable<T>, provided by the ReverseExtension extension

Reverses the order of the iterable.
sample(int count, [Random? random]) List<T>

Available on Iterable<T>, provided by the IterableExtension extension

Selects count elements at random from this iterable.
scan(T aggregator(T previousElement, T element)) Iterable<T>

Available on Iterable<T>, provided by the ScanExtension extension

Returns the scan (inclusive prefix sum) of this iterable.

Available on Iterable<T>, provided by the IterablesExtension extension

searchMap({required Iterable<V> searchTerms, Iterable<K> keys = const [], int levenshteinDistance = 0, bool allIfEmpty = true}) Iterable<Map<K, V>>

Available on Iterable<Map<K, V>>, provided by the MapSearch extension

select<TResult>(TResult selector(T element, int index)) Iterable<TResult>

Available on Iterable<T>, provided by the SelectExtension extension

Applies a mapping function to the elements in the iterable, including the index where each element is found.
selectMany<TResult>(Iterable<TResult> selector(T element, int index)) Iterable<TResult>

Available on Iterable<T>, provided by the SelectManyExtension extension

Maps elements in an iterable to collections and then flattens those collections into a single iterable.
sequenceEquals(Iterable<T> other, {bool comparer(T outer, T inner)?}) bool

Available on Iterable<T>, provided by the SequenceEqualsExtension extension

Returns true if this iterable is equivalent to the given collection.
sequenceEqualsSelect<TOther, TKey>(Iterable<TOther> other, {required TKey outerSelector(T element), required TKey innerSelector(TOther element), bool comparer(TKey outer, TKey inner)?}) bool

Available on Iterable<T>, provided by the SequenceEqualsSelectExtension extension

Returns true if this iterable is equivalent to the given collection.
shuffled([Random? random]) List<T>

Available on Iterable<T>, provided by the IterableExtension extension

Creates a shuffled list of the elements of the iterable.
singleOrDefault({required T defaultValue}) → T

Available on Iterable<T>, provided by the SingleOrDefaultExtension extension

Returns the single element in the iterable, or a defaultValue if no such element exists.
singleWhere(bool test(dynamic element), {dynamic orElse()?}) → dynamic
The single element that satisfies test.
inherited
singleWhereIndexedOrNull(bool test(int index, T element)) → T?

Available on Iterable<T>, provided by the IterableExtension extension

The single element satisfying test.
singleWhereOrDefault(bool condition(T element), {required T defaultValue}) → T

Available on Iterable<T>, provided by the SingleWhereOrDefaultExtension extension

Returns the single element in the iterable matching a condition, or a defaultValue if no such element exists.
singleWhereOrNull(bool test(T element)) → T?

Available on Iterable<T>, provided by the IterableExtension extension

The single element satisfying test.
skip(int count) Iterable
Creates an Iterable that provides all but the first count elements.
inherited
skipLast(int count) Iterable<T>

Available on Iterable<T>, provided by the SkipLastExtension extension

Skips the last count elements in an iterable.
skipWhile(bool test(dynamic element)) Iterable
Creates an Iterable that skips leading elements while test is satisfied.
inherited
slices(int length) Iterable<List<T>>

Available on Iterable<T>, provided by the IterableExtension extension

Contiguous slices of this with the given length.
sorted(Comparator<T> compare) List<T>

Available on Iterable<T>, provided by the IterableExtension extension

Creates a sorted list of the elements of the iterable.
sorted([Comparator<T>? compare]) List<T>

Available on Iterable<T>, provided by the IterableComparableExtension extension

Creates a sorted list of the elements of the iterable.
sortedBy<K extends Comparable<K>>(K keyOf(T element)) List<T>

Available on Iterable<T>, provided by the IterableExtension extension

Creates a sorted list of the elements of the iterable.
sortedByCompare<K>(K keyOf(T element), Comparator<K> compare) List<T>

Available on Iterable<T>, provided by the IterableExtension extension

Creates a sorted list of the elements of the iterable.
split(T separator, {bool comparer(T separator, T element)?, bool keepSeparator = false}) Iterable<Iterable<T>>

Available on Iterable<T>, provided by the SplitExtension extension

Splits the is iterable into multiple iterables on elements that match the separator.
split(int count) List<List<T>>

Available on Iterable<T>, provided by the IterablesExtension extension

Splits the list into multiple sublists of the specified count.
splitAfter(bool test(T element)) Iterable<List<T>>

Available on Iterable<T>, provided by the IterableExtension extension

Splits the elements into chunks after some elements.
splitAfterIndexed(bool test(int index, T element)) Iterable<List<T>>

Available on Iterable<T>, provided by the IterableExtension extension

Splits the elements into chunks after some elements and indices.
splitBefore(bool test(T element)) Iterable<List<T>>

Available on Iterable<T>, provided by the IterableExtension extension

Splits the elements into chunks before some elements.
splitBeforeIndexed(bool test(int index, T element)) Iterable<List<T>>

Available on Iterable<T>, provided by the IterableExtension extension

Splits the elements into chunks before some elements and indices.
splitBetween(bool test(T first, T second)) Iterable<List<T>>

Available on Iterable<T>, provided by the IterableExtension extension

Splits the elements into chunks between some elements.
splitBetweenIndexed(bool test(int index, T first, T second)) Iterable<List<T>>

Available on Iterable<T>, provided by the IterableExtension extension

Splits the elements into chunks between some elements and indices.
splitBy(int keyFunction(T)) List<List<T>>

Available on Iterable<T>, provided by the IterablesExtension extension

Splits the list into sublists based on the provided keyFunction. Each sublist contains elements that have the same key value. Returns a list of sublists.
splitByPredicate(bool predicate(T, T)) List<List<T>>

Available on Iterable<T>, provided by the IterablesExtension extension

Splits the list into sublists based on a given predicate.
splitSequence(Iterable<T> separator, {bool comparer(T separator, T element)?, bool keepSeparator = false}) Iterable<Iterable<T>>

Available on Iterable<T>, provided by the SplitSequenceExtension extension

Splits the is iterable into multiple iterables on elements that match the separator.
splitWhere(bool predicate(T), {bool keepSeparator = false}) Iterable<Iterable<T>>

Available on Iterable<T>, provided by the SplitWhereExtension extension

Splits the is iterable into multiple iterables on elements that satisfy the given predicate.
startsWith(Iterable<T> other, {bool comparer(T otherElement, T element)?}) bool

Available on Iterable<T>, provided by the StartsWithExtension extension

Returns true if this iterable starts with the same elements that are in other.
subsets() Iterable<Iterable<T>>

Available on Iterable<T>, provided by the SubsetsExtension extension

Returns an iterable of iterables which represents all of the subsets of this iterable. (Also known as the power set of the iterable.)
sum<TNum extends num>([TNum selector(T)?]) → TNum

Available on Iterable<T>, provided by the SumExtension extension

Calculates the sum of the elements in an iterable, optionally using selector to obtain the value to be summed.
swap(List<T> input, int a, int b) → void

Available on Iterable<T>, provided by the PermutationsExtension extension

take(int count) Iterable
Creates a lazy iterable of the count first elements of this iterable.
inherited
takeEvery(int step) Iterable<T>

Available on Iterable<T>, provided by the TakeEveryExtension extension

Takes every N-th element in this iterable.
takeLast(int count) Iterable<T>

Available on Iterable<T>, provided by the TakeLastExtension extension

Takes the last count elements in an iterable.
takeWhile(bool test(dynamic element)) Iterable
Creates a lazy iterable of the leading elements satisfying test.
inherited
thenBy<TKey>(TKey keySelector(T element), {EqualityComparer<TKey>? keyComparer}) Iterable<T>

Available on Iterable<T>, provided by the ThenByExtension extension

Adds a secondary sorting pass to iteration in ascending (least-to-greatest) order.
thenByDescending<TKey>(TKey keySelector(T element), {EqualityComparer<TKey>? keyComparer}) Iterable<T>

Available on Iterable<T>, provided by the ThenByDescendingExtension extension

Adds a secondary sorting pass to iteration in ascending (least-to-greatest) order.
toHashMap<TKey, TValue>(MapEntry<TKey, TValue> entrySelector(T element), {bool modifiable = true}) Map<TKey, TValue>

Available on Iterable<T>, provided by the ToHashMapExtension extension

Converts the iterable to a HashMap.
toJson() Map<String, dynamic>
Converts this tuple into a map for JSON serialization.
toLinkedHashMap<TKey, TValue>(MapEntry<TKey, TValue> entrySelector(T element), {bool modifiable = true}) Map<TKey, TValue>

Available on Iterable<T>, provided by the ToLinkedHashMapExtension extension

Converts the iterable to a LinkedHashMap.
toList({bool growable = true}) List
Creates a List containing the elements of this Iterable.
inherited
toMap<TKey, TValue>(MapEntry<TKey, TValue> entrySelector(T element), {bool modifiable = false}) Map<TKey, TValue>

Available on Iterable<T>, provided by the ToMapExtension extension

Converts the iterable to a Map.
toRecord() → (T0, T1, T2, T3, T4)
Converts this tuple into a record.
toSet() Set
Creates a Set containing the same elements as this iterable.
inherited
toSplayTreeMap<TKey, TValue>(MapEntry<TKey, TValue> entrySelector(T element), {int keyComparer(TKey k1, TKey k2)?, bool modifiable = true}) Map<TKey, TValue>

Available on Iterable<T>, provided by the ToSplayTreeMapExtension extension

Converts the iterable to a SplayTreeMap.
toStream({bool isBroadcast = false, Duration? delay}) Stream<T>

Available on Iterable<T>, provided by the ToStreamExtension extension

Converts the iterable to a Stream.
toString() String
Returns a string representation of (some of) the elements of this.
override
tryAggregate(T aggregator(T aggregate, T element), {T? defaultValue}) → T?

Available on Iterable<T>, provided by the TryAggregateExtension extension

Aggregates the iterable into a single value.
tryAggregateRight(T aggregator(T aggregate, T element), {T? defaultValue}) → T?

Available on Iterable<T>, provided by the TryAggregateRightExtension extension

Aggregates the iterable into a single value in a right-associative manner.
tryInsert(int index, T value) Iterable<T>

Available on Iterable<T>, provided by the TryInsertExtension extension

Inserts an element into the iterable at the specified index.
tryInsert2(int index, T v1, T v2) Iterable<T>

Available on Iterable<T>, provided by the TryInsertExtension extension

Inserts two elements into the iterable at the specified index.
tryInsert3(int index, T v1, T v2, T v3) Iterable<T>

Available on Iterable<T>, provided by the TryInsertExtension extension

Inserts three elements into the iterable at the specified index.
tryInsert4(int index, T v1, T v2, T v3, T v4) Iterable<T>

Available on Iterable<T>, provided by the TryInsertExtension extension

Inserts four elements into the iterable at the specified index.
tryInsert5(int index, T v1, T v2, T v3, T v4, T v5) Iterable<T>

Available on Iterable<T>, provided by the TryInsertExtension extension

Inserts five elements into the iterable at the specified index.
tryInsert6(int index, T v1, T v2, T v3, T v4, T v5, T v6) Iterable<T>

Available on Iterable<T>, provided by the TryInsertExtension extension

Inserts six elements into the iterable at the specified index.
tryInsert7(int index, T v1, T v2, T v3, T v4, T v5, T v6, T v7) Iterable<T>

Available on Iterable<T>, provided by the TryInsertExtension extension

Inserts seven elements into the iterable at the specified index.
tryInsert8(int index, T v1, T v2, T v3, T v4, T v5, T v6, T v7, T v8) Iterable<T>

Available on Iterable<T>, provided by the TryInsertExtension extension

Inserts eight elements into the iterable at the specified index.
tryInsert9(int index, T v1, T v2, T v3, T v4, T v5, T v6, T v7, T v8, T v9) Iterable<T>

Available on Iterable<T>, provided by the TryInsertExtension extension

Inserts nine elements into the iterable at the specified index.
tryInsertAll(int index, Iterable<T> other) Iterable<T>

Available on Iterable<T>, provided by the TryInsertAllExtension extension

Inserts an element into the iterable at the specified index.
trySingleOrDefault({T? defaultValue}) → T?

Available on Iterable<T>, provided by the TrySingleOrDefaultExtension extension

Returns the single element in the iterable, or a defaultValue if no such element exists.
trySingleWhereOrDefault(bool condition(T element), {T? defaultValue}) → T?

Available on Iterable<T>, provided by the TrySingleWhereOrDefaultExtension extension

Returns the single element in the iterable matching a condition, or a defaultValue if no such element exists.
union(Iterable<T> other, [Object selector(T element)?]) Iterable<T>

Available on Iterable<T>, provided by the UnionExtension extension

Returns the set union between the iterable and the given collection.
where(bool test(dynamic element)) Iterable
Creates a new lazy Iterable with all elements that satisfy the predicate test.
inherited
whereIndexed(bool test(int index, T element)) Iterable<T>

Available on Iterable<T>, provided by the IterableExtension extension

The elements whose value and index satisfies test.
whereNot(bool test(T element)) Iterable<T>

Available on Iterable<T>, provided by the IterableExtension extension

The elements that do not satisfy test.
whereNotIndexed(bool test(int index, T element)) Iterable<T>

Available on Iterable<T>, provided by the IterableExtension extension

The elements whose value and index do not satisfy test.
whereNotNull() Iterable<T>

Available on Iterable<T?>, provided by the IterableNullableExtension extension

The non-null elements of this Iterable.
whereType<T>() Iterable<R>
Creates a new lazy Iterable with all elements that have type T.
inherited
zip<TOther, TResult>(Iterable<TOther> other, TResult selector(T element, TOther otherElement)) Iterable<TResult>

Available on Iterable<T>, provided by the ZipExtension extension

Combines the values of the iterable and another collection into an iterable of new values.

Operators

operator ==(Object other) bool
The equality operator.
override
operator [](int index) → dynamic
Provides an indexable way to access this tuple's items.