fold<T> abstract method
T
fold<T>(
- T ifLeft(
- L
- T ifRight(
- R
Applies either ifLeft or ifRight depending on the instance.
Implementation
T fold<T>(T Function(L) ifLeft, T Function(R) ifRight);