Lists class

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

append<T>(Iterable<T>? some, T item) List<T>
combine<T>(T item, Iterable<T>? more) List<T>
compact<T>(Iterable<T>? list) List<T>
compactEmpty(Iterable<String?>? list) List<String>
createIf<T>(bool condition, Factory<T> factory) → T?
expand<T>(Iterable<T>? some, Iterable<T>? more) List<T>
firstOrNull<T>(Iterable<T>? list, {bool filter(T input)?}) → T?
getOrNull<T>(Iterable<T>? items, int index) → T?
lastOrNull<T>(Iterable<T?> names, {bool filter(T? input)?}) → T?
listIf<T>(bool condition, ListFactory<T> factory) List<T>
listOf<T>(T item) List<T>
singleOrNull<T>(Iterable<T>? items) → T?
without<T>(List<T>? list, T? removed) Iterable<T>