when<TResult extends Object?> method
TResult
when<TResult extends Object?>(
- TResult callback(
- List<
UpdatedBook> updates, - int? total,
- int page,
- int pageSize,
- List<
Destructure the feed using the original four-field callback.
Access next directly for cursor pagination.
Implementation
TResult when<TResult extends Object?>(
TResult Function(
List<UpdatedBook> updates,
int? total,
int page,
int pageSize,
)
callback,
) => callback(updates, total, page, pageSize);