getCollectionURL method

String getCollectionURL(
  1. Collection collection
)

Returns the URL for a specific collection.

Implementation

String getCollectionURL(Collection collection) {
  String baseURL = "https://sunnah.com";
  String collectionName = _getCollectionName(collection);
  return "$baseURL/$collectionName";
}