fold<T> method

  1. @override
T fold<T>(
  1. T ifLeft(
    1. L
    ),
  2. T ifRight(
    1. R
    )
)
override

Executes ifLeft with the value.

Implementation

@override
T fold<T>(T Function(L) ifLeft, T Function(R) ifRight) => ifLeft(_value);