RevelationCharacteristics class
Characteristics of surahs from a specific revelation period.
Constructors
- RevelationCharacteristics.new({required double averageLength, required int totalAyat, required int shortestLength, required int longestLength})
-
const
-
RevelationCharacteristics.fromJson(Map<
String, dynamic> json) -
Creates RevelationCharacteristics from JSON data
factory
Properties
- averageLength → double
-
Average length of surahs in this category
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lengthRange → int
-
Range of lengths in this category
no setter
- lengthVariationRatio → double
-
Length variation ratio
no setter
- longestLength → int
-
Longest surah length in this category
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortestLength → int
-
Shortest surah length in this category
final
- totalAyat → int
-
Total ayat in this category
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts RevelationCharacteristics to JSON
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited