AyahRangeInfo class

Information about an ayah range.

Constructors

AyahRangeInfo.new({required int start, required int end, required int count})
const
AyahRangeInfo.fromJson(Map<String, dynamic> json)
Creates an AyahRangeInfo from JSON data
factory

Properties

count int
Total number of ayat in the range
final
end int
Ending ayah number (inclusive)
final
hashCode int
The hash code for this object.
no setteroverride
isSingleAyah bool
Whether this is a single ayah range
no setter
isValid bool
Whether this range is valid
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int
Starting ayah number (inclusive)
final

Methods

copyWith({int? start, int? end, int? count}) AyahRangeInfo
Creates a copy of this AyahRangeInfo with the given fields replaced with new values
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the AyahRangeInfo to JSON
toString() String
A string representation of this object.
override

Operators

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