initQuran function

dynamic initQuran({
  1. String? jsonAssetsURL,
})

Optional initiation of json assets based URL, in case the current assets URL could not be used Example

initQuran(jsonAssetsURL: 'https://raw.githubusercontent.com/lamsz/lamsz_quran_api/main/lib/assets');

Implementation

initQuran({String? jsonAssetsURL}) {
  QuranDatasource.instance.initQuran(jsonAssetBaseURL: jsonAssetsURL);
}