ListExtension<E> extension

on

Methods

flat<T>() List<T>

Available on List<E>, provided by the ListExtension extension

getItemCountSafety(int count) int

Available on List<E>, provided by the ListExtension extension

ListView에서 itemCount를 임의로 부여할 때 리스트의 길이를 넘는다면 리스트의 길이 값으로 재설정함
getRangeSafety(int start, int end) List<E>

Available on List<E>, provided by the ListExtension extension

merge(E newE) → E

Available on List<E>, provided by the ListExtension extension

UPSERT: 있으면 UPDATE, 없으면 INSERT
mergeWhere(UpdateOrFn<E> updateOrFn, Where<E> where) → E

Available on List<E>, provided by the ListExtension extension

UPSERT: 있으면 UPDATE, 없으면 INSERT
sortMulti(List<int Function(E, E)> compares) → void

Available on List<E>, provided by the ListExtension extension

sublistSafety(int start, [int? end]) List<E>

Available on List<E>, provided by the ListExtension extension

update(E element) → E?

Available on List<E>, provided by the ListExtension extension

updateWhere(UpdateFn<E> updateFn, Where<E> where) → E?

Available on List<E>, provided by the ListExtension extension