LazyListTracker<S, T> constructor

LazyListTracker<S, T>(
  1. List<S> source,
  2. T mapSource(
    1. int index,
    2. S object
    ),
  3. S lookupSource(
    1. int index,
    2. T object
    ), {
  4. List<T>? target,
  5. void onRemove(
    1. int index,
    2. S source,
    3. T target
    )?,
  6. T onInsert(
    1. int index,
    2. S source,
    3. T target
    )?,
  7. T onInsertBackpass(
    1. int index,
    2. S source,
    3. T target
    )?,
  8. void onChange()?,
})

Implementation

LazyListTracker(List<S> source, T mapSource(int index, S object),
    S lookupSource(int index, T object),
    {List<T>? target,
    void onRemove(int index, S source, T target)?,
    T onInsert(int index, S source, T target)?,
    T onInsertBackpass(int index, S source, T target)?,
    void onChange()?})
    : _source = source,
      _target = target,
      _mapSource = mapSource,
      _lookupSource = lookupSource,
      _onRemove = onRemove,
      _onInsert = onInsert,
      _onInsertBackpass = onInsertBackpass,
      _onChange = onChange;