option property

Task<Option<A>> option

Implementation

Task<Option<A>> get option => redeem((_) => none(), (a) => some(a));