getHadithURL method
Returns the URL for a specific hadith in a collection.
Implementation
String getHadithURL(
Collection collection,
int bookNumber,
int hadithNumber,
) {
return "${getBookURL(collection, bookNumber)}/$hadithNumber";
}
Returns the URL for a specific hadith in a collection.
String getHadithURL(
Collection collection,
int bookNumber,
int hadithNumber,
) {
return "${getBookURL(collection, bookNumber)}/$hadithNumber";
}