visit<R> abstract method
- required R onT0(
- T0
- required R onT1(
- T1
Visits the underlying value with exhaustive matching.
Implementation
R visit<R>({required R Function(T0) onT0, required R Function(T1) onT1});
Visits the underlying value with exhaustive matching.
R visit<R>({required R Function(T0) onT0, required R Function(T1) onT1});