SurahStatistics class
Comprehensive statistics about the Quran.
Constructors
- SurahStatistics.new({required int totalSurahs, required int totalAyat, required int meccanSurahs, required int medinanSurahs, required double averageAyatPerSurah, required Surah longestSurah, required Surah shortestSurah, required AyatCounts ayatCounts, required RevelationAnalysis revelationAnalysis, String source = "Tanzil Project - https://tanzil.net"})
-
const
-
SurahStatistics.fromJson(Map<
String, dynamic> json) -
Creates SurahStatistics from JSON data
factory
Properties
- averageAyatPerSurah → double
-
Average number of ayat per surah
final
- ayatCounts → AyatCounts
-
Statistics about ayat counts
final
- dailyReadingMinutes → double
-
Daily reading time for 30-day completion (in minutes)
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- lengthDifferenceRatio → double
-
Length difference ratio between longest and shortest surah
no setter
- longestSurah → Surah
-
The longest surah by number of ayat
final
- meccanPercentage → double
-
Percentage of Meccan surahs
no setter
- meccanSurahs → int
-
Number of Meccan surahs
final
- medinanPercentage → double
-
Percentage of Medinan surahs
no setter
- medinanSurahs → int
-
Number of Medinan surahs
final
- revelationAnalysis → RevelationAnalysis
-
Analysis of revelation characteristics
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortestSurah → Surah
-
The shortest surah by number of ayat
final
- source → String
-
Source attribution for the Quran text
final
- totalAyat → int
-
Total number of ayat (6,236)
final
- totalReadingHours → double
-
Estimated reading time for complete Quran (in hours)
no setter
- totalReadingMinutes → double
-
Estimated reading time for complete Quran (in minutes, at 2 ayat/minute)
no setter
- totalSurahs → int
-
Total number of surahs (114)
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts SurahStatistics to JSON
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited