Juz class

Juz which is the model class that responsible on all details of Quran Juzs.

Constructors

Juz({int? juzNumber, List<Verse>? verses, String? startKey, String? endKey, int? startPage, int? endPage})
the main constructor of Juz class.
Juz.fromJson(Map<String, dynamic> data)
Juz.fromJson is a named constructor that convert a Map into Juz class object.

Properties

endKey String?
endKey the variable that holding the end key of exact juz. for example: '2:141', '2:252', etc.
getter/setter pair
endPage int?
endPage the variable that holding the number of page that the exact juz ends with.
getter/setter pair
endSurah int
endSurah a getter that separates the endKey and takes surah number part.
no setter
endVerse int
endVerse a getter that separates the endKey and takes verse number part.
no setter
hashCode int
The hash code for this object.
no setterinherited
juzNumber int?
juzNumber the variable that holding the number of juz.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startKey String?
startKey the variable that holding the start key of exact juz. for example: '1:1', '2:142', etc.
getter/setter pair
startPage int?
startPage the variable that holding the number of page that the exact juz starts with.
getter/setter pair
startSurah int
startSurah a getter that separates the startKey and takes surah number part.
no setter
startVerse int
startVerse a getter that separates the startKey and takes verse number part.
no setter
verses List<Verse>?
verses the variable that holding the verses of exact juz.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJson is a method that convert all variables of Juz class into a Map.
toString() String
A string representation of this object.
inherited

Operators

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