fold<T> method

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

Implementation

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