currentItems property
Returns the current list of items, or empty list if not loaded.
Implementation
@override
List<T> get currentItems {
final currentState = state;
if (currentState is SmartPaginationLoaded<T>) {
return List<T>.unmodifiable(currentState.allItems);
}
return const [];
}