The BibleBook class represents a book in bible
Constructors
Properties
- bookNumber → int
-
Get the number of the book
read-only - data → Uint8List
-
@nodoc
read-only - fullName → String
-
Get the full name of the book
read-only - shortName → String
-
Get the short name of the book
read-only - totalChapters → int
-
Get the total
read-only - hashCode → int
-
The hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
close(
) → void -
Garbage collect the instance when you are done with it
-
getCompleteVerse(
int chapter, int verse) → List<String> -
Get complete verse content for this chapter/verse @return null on error (book not opened, invalid chapter/verse) or the content complete content of the verse (for each "Tags"). Index 0 contains verse (always exist), index 1 contains pericope title (may not exist, if not exist it will be empty string), Index 2 contains chapter title (if exist, this will only appear in verse 1 of a chapter), Index 3 contains book title (if exists, this will only appear in chapter 1 verse 1 of a book.
-
getTotalVerses(
int chapter) → int -
Get the total number of verses of the specified chapter
-
getVerse(
int chapter, int verse) → String -
Get only the text of the verse
-
loadBook(
) → void -
Load the basic info of the book. Only call this method explicitly when you want to eager load the book info. Otherwise this method will be lazy-loaded when necessary
-
toString(
) → String -
Returns a string representation of this object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited