fold<C> method

  1. @override
C fold<C>(
  1. C onLeft(
    1. L left
    ),
  2. C onRight(
    1. R right
    )
)
override

Implementation

@override
C fold<C>(C Function(L left) onLeft, C Function(R right) onRight) {
  return onRight(_value);
}