SearchStatistics class

Statistics about search results.

Constructors

SearchStatistics.new({required int totalResults, required int uniqueSurahs, required int uniqueJuz, required int meccanResults, required int medinanResults, required Map<int, int> surahDistribution, required Map<int, int> juzDistribution})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
juzDistribution Map<int, int>
Distribution of results by Juz number
final
meccanPercentage double
Percentage of results from Meccan surahs
no setter
meccanResults int
Number of results from Meccan surahs
final
medinanPercentage double
Percentage of results from Medinan surahs
no setter
medinanResults int
Number of results from Medinan surahs
final
mostFrequentJuz MapEntry<int, int>?
The Juz with the most results
no setter
mostFrequentSurah MapEntry<int, int>?
The surah with the most results
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
surahDistribution Map<int, int>
Distribution of results by surah ID
final
totalResults int
Total number of results
final
uniqueJuz int
Number of unique Juz containing results
final
uniqueSurahs int
Number of unique surahs containing results
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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