fold<B> abstract method
B
fold<B>(
- B onOk(
- T value
- B onErr(
- E error
Implementation
B fold<B>(B Function(T value) onOk, B Function(E error) onErr);