ResourceListData<T> constructor

ResourceListData<T>({
  1. List<T>? items,
  2. List<T>? addedItems,
  3. List<T>? updatedItems,
})

Implementation

ResourceListData({
  List<T>? items,
  List<T>? addedItems,
  List<T>? updatedItems,
})  : items = items ?? <T>[],
      newItems = addedItems ?? <T>[],
      updatedItems = updatedItems ?? <T>[];