AddOrUpdate<T> extension

on

Methods

addOrUpdate(T item) → void
add an item to a list, or update item if it already exists