getBookURL method

String getBookURL(
  1. Collection collection,
  2. int bookNumber
)

Returns the URL for a specific book in a collection.

Implementation

String getBookURL(Collection collection, int bookNumber) {
  return "${getCollectionURL(collection)}/$bookNumber";
}