match<R> abstract method

R match<R>({
  1. required R selfclosing(
    1. ElementypeSelfclosing
    ),
  2. required R nonselfclosing(
    1. ElementypeNonselfclosing
    ),
})

Implementation

R match<R>({
  required final R Function(ElementypeSelfclosing) selfclosing,
  required final R Function(ElementypeNonselfclosing) nonselfclosing,
});