QuranMetadata class

Metadata about the Quran dataset.

Constructors

QuranMetadata.new({required int totalSurahs, required int totalAyat, required int meccanSurahs, required int medinanSurahs, required String dataVersion, required DateTime lastUpdated})
const
QuranMetadata.fromJson(Map<String, dynamic> json)
Creates QuranMetadata from JSON
factory

Properties

averageAyatPerSurah double
Average ayat per surah
no setter
dataVersion String
Version of the data
final
hashCode int
The hash code for this object.
no setterinherited
lastUpdated DateTime
When the data was last updated
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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalAyat int
Total number of ayat
final
totalSurahs int
Total number of surahs
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts QuranMetadata to JSON
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited