fold<Z> method
Applies onLeft
if this is a Left or onRight
if this is a Right
Implementation
@override
Z fold<Z>(Z Function(L l) onLeft, Z Function(R r) onRight) => onRight(_value);
Applies onLeft
if this is a Left or onRight
if this is a Right
@override
Z fold<Z>(Z Function(L l) onLeft, Z Function(R r) onRight) => onRight(_value);