when<TResult extends Object?> method

TResult when<TResult extends Object?>(
  1. BookFieldsCallback<TResult> callback
)

Destructure the original fields; access thema directly on the book.

Implementation

TResult when<TResult extends Object?>(BookFieldsCallback<TResult> callback) =>
    callback(
      title,
      titleLong,
      isbn,
      isbn13,
      deweyDecimal,
      binding,
      publisher,
      language,
      datePublished,
      edition,
      editionNumber,
      pages,
      dimensions,
      overview,
      image,
      msrp,
      listPrice,
      excerpt,
      synopsys,
      authors,
      subjects,
      reviews,
      prices,
      related,
    );