ExtList<T> extension
- on
-
- List<
T>
- List<
Methods
-
addIfNotNull(
T? value) → void -
Available on List<
AddsT> , provided by the ExtList extensionvalueto the list only if it is not null. -
addToSet(
T value) → void -
Available on List<
AddsT> , provided by the ExtList extensionvalueto the list only if it does not already exist. -
searchText(
String text, [String mapper(T)?]) → List< T> - Performs a text-based search on the list.
-
toSentence(
{int? maxToShow, String separator = ",", String lastSeparator = "&", String suffix = "others"}) → String - Converts the list into a human-readable sentence.
Operators
-
operator *(
int count) → List< T> -
Available on List<
Repeats this listT> , provided by the ExtList extensioncounttimes.