ReferenceExtractor constructor
ReferenceExtractor({
- PassageParser? parser,
- bool includeBareBooks = false,
- int maxLookBehind = 96,
- int maxLookAhead = 256,
Implementation
ReferenceExtractor({
PassageParser? parser,
this.includeBareBooks = false,
this.maxLookBehind = 96,
this.maxLookAhead = 256,
}) : parser = parser ?? PassageParser() {
RangeError.checkValueInInterval(
maxLookBehind,
1,
4096,
'maxLookBehind',
);
RangeError.checkValueInInterval(
maxLookAhead,
1,
4096,
'maxLookAhead',
);
}