mapItems<R> abstract method

Future<Page<R>> mapItems<R>(
  1. FutureOr<List<R>> fn(
    1. List<T> items
    )
)

Maps the type of the items to a different type. The same mapper function will be called on subsequent pages.

Implementation

Future<Page<R>> mapItems<R>(FutureOr<List<R>> Function(List<T> items) fn);