mapItems<R> method
Maps the type of the items to a different type. The same mapper function will be called on subsequent pages.
Implementation
@override
Future<Page<R>> mapItems<R>(
FutureOr<List<R>> Function(List<T> items) fn) async {
return _CastPage(await fn(items), isLast, next, close, fn);
}