BibleReference constructor
BibleReference(
- String book
Constructs the BibleReference as a reference to a book.
Implementation
BibleReference(String book)
: book = Librarian.getBookNames(book)['name'] ?? book,
reference = Librarian.createReferenceString(book),
bookNumber = Librarian.findBookNumber(book),
referenceType = Librarian.identifyReferenceType(book),
_bookNames = Librarian.getBookNames(book),
isValid = Librarian.verifyReference(book);