BookmarkModel class
A model class that represents a single bookmark in the Quran.
This class contains properties that identify the bookmarked Ayah in the Quran, such as the Surah number and Ayah number in the Quran.
The BookmarkModel class is used to store and retrieve bookmarks in the Quran.
Constructors
- BookmarkModel.new({required int id, required int colorCode, required String name, int ayahId = -1, int ayahNumber = -1, int page = -1})
- Creates a new instance of BookmarkModel.
Properties
- ayahId ↔ int
-
The identifier of the Ayah in the Quran that is bookmarked.
getter/setter pair
- ayahNumber ↔ int
-
The number of the Ayah in the Surah.
getter/setter pair
- colorCode → int
-
The color code of the bookmark.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The unique identifier of the bookmark in the Quran.
final
- name → String
-
The name of the bookmark.
final
- page ↔ int
-
The page number in the Quran that the bookmarked Ayah is located.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited