match<C> abstract method
C
match<C>(
- C onLeft(
- L l
- C onRight(
- R r
Execute onLeft when value is Left, otherwise execute onRight.
Same as fold.
Implementation
C match<C>(C Function(L l) onLeft, C Function(R r) onRight);