Chapter class

A reference to a single chapter in the bible.

This object is usually returned from accessing the Reference.startChapter field.

var chap = Chapter('Ps', 5);
print(chap.chapterNumber); // 5
print(chap.referenceType); // ReferenceType.CHAPTER
Inheritance

Constructors

Chapter(String book, int chapterNumber)

Properties

abbrBook String?
The uppercased paratext abbreviation for this reference's book.
no setterinherited
abbrReference String?
The uppercased paratext abbreviation for this chapter. in BOOK chapter format.
no setteroverride
book String
The full book name of the reference.
finalinherited
bookNumber int?
The book number for the passed in reference book.
finalinherited
chapterNumber int
The numerated chapter that this reference is within the book.
final
endVerse Verse?
The last verse in this chapter represented by a Verse object.
final
endVerseNumber int?
The last verse within this chapter.
final
hashCode int
The hash code for this object.
no setterinherited
isValid bool
Whether this chapter is found within the bible.
final
osisBook String?
The title cased representation for this reference's book.
no setterinherited
osisReference String?
The title cased osis representation for this chapter in Book chapter format.
no setteroverride
reference String?
The reference in book chapter format, for example Psalm 5.
final
referenceType ReferenceType
ReferenceType.CHAPTER
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortBook String?
The shortest standard abbreviation for this reference's book.
no setterinherited
shortReference String?
The shortest standard abbreviation for this chapter in Book chapter format.
no setteroverride
startVerse Verse
The first verse in this chapter represented by a Verse object.
final
startVerseNumber int
The first verse within this chapter.
final
verses List<Verse>?
Creates a list containing every verse found within this chapter.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns BibleReference.reference
inherited

Operators

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