CollectionsUtils class
Utilities for collections
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
addIfNotEqualToLast<
T> (List< T> list, T item) → bool -
areEqual<
T> (List< T> listA, List<T> listB) → bool -
hasRepeated<
T> (List< T> list) → bool - CHecks if there are subsequent repeating items.
-
removeRepeated<
T> (List< T> list) → List<T> -
Removes subsequent equal items from a
list
. -
shiftToFirst<
T> (List< T> ? list, int index) → List<T> ? -
Shift a list of items from a given
index
to the first position.