visit<T> method Null safety

T visit<T>(
  1. XmlHasVisitor visitable
)

Helper to visit an XmlHasVisitor using this visitor by dispatching through the provided visitable.

Implementation

T visit<T>(XmlHasVisitor visitable) => visitable.accept(this);