accept<T> method Null safety

T accept<T>(
  1. ValueVisitor<T> visitor
)

Calls the appropriate visit method on visitor.

@nodoc

Implementation

T accept<T>(ValueVisitor<T> visitor) => visitor.visitNumber(this);