Execute onLeft when value is Left, otherwise execute onRight.
onLeft
onRight
Same as fold.
fold
@override C match<C>(C Function(L l) onLeft, C Function(R r) onRight) => onRight(_value);