allJoz property

List<String> get allJoz

allJoz returns list of all Quran joz' names

Implementation

static List<String> get allJoz {
  if (_cache.containsKey('allJoz')) {
    return _cache['allJoz'] as List<String>;
  }
  final jozList = _QuranConstants.quranHizbs
      .sublist(0, 30)
      .map((jozz) => "الجزء $jozz")
      .toList();
  _cache['allJoz'] = jozList;
  return jozList;
}