Converts the Result into an Option containing the value, if any. Otherwise returns None if the result is an error.
Result
Option
None
Future<Option<T>> ok() => then((result) => result.ok());