visit<R> method

R visit<R>({
  1. required R empty(),
  2. required R values(
    1. Iterable<T>
    ),
})

Implementation

R visit<R>({
  required R Function() empty,
  required R Function(Iterable<T>) values,
}) =>
    isEmpty ? empty() : values(this);