fold<TR, T> method
Implementation
Future<TR> fold<TR, T>(TR Function() noneF, TR Function(T val) someF) {
return then((value) => value.fold(() => noneF(), (some) => someF(some)));
}
Future<TR> fold<TR, T>(TR Function() noneF, TR Function(T val) someF) {
return then((value) => value.fold(() => noneF(), (some) => someF(some)));
}