getHadithURL method

String getHadithURL(
  1. Collection collection,
  2. int bookNumber,
  3. int hadithNumber
)

Returns the URL for a specific hadith in a collection.

Implementation

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