PassageParser constructor
PassageParser({
- ReferenceParser? referenceParser,
- Set<
BibleBookEnum> ? singleChapterBooks,
Implementation
factory PassageParser({
ReferenceParser? referenceParser,
Set<BibleBookEnum>? singleChapterBooks,
}) {
final books = singleChapterBooks ?? _defaultSingleChapterBooks;
return PassageParser._(
referenceParser ?? ReferenceParser.standard,
Set<BibleBookEnum>.unmodifiable(books),
);
}