secondPass method
Captions needs to find their assigned symbol to correctly render themself around the symbol. After all rules has been created a second pass is executed where captions are able to find their assigned symbol.
Implementation
@override
void secondPass(SymbolSearcher symbolSearcher) {
super.secondPass(symbolSearcher);
if (symbolId != null) {
symbolBoundary = symbolSearcher.searchForSymbolBoundary(symbolId!);
}
}